mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-07 11:23:36 +00:00
Setup a `babel.config.js` in the root of the monorepo to be used by `packages/*`. It won't be used by some packages, e.g. `packages/embark-ui`, but most of them should use it instead of rolling their own. Allow for package-level modifications by specifying `babelrcRoots` in the root `babel.config.js` Use the babel `--root-mode upward` option in `packages/embark`'s `build` script. Other packages intending to use the common config should do likewise. Use a `.babelrc.js` in `packages/embark` to supply the package-specific `ignore` settings. Make packages used by the common config devDeps of the root. Extract babel-related devDeps from `packages/embark`, but don't extract the non-dev deps since those are used by embark's pipeline in a production install. Normally, it should only be necessary to have `@babel/cli` and `@babel/core` in devDeps, and possibly `@babel/runtime-corejs2` in deps, plus any package-specific babel-related dev/deps. Once we deprecate the pipeline, we can finish the extraction. Use `ncu -f '/babel/' -u` to bump the versions of all babel-related deps in the root and in `packages/embark`. We get better space/time savings from the yarn workspace when versions match.
What is Embark
Embark is a framework that allows you to easily develop and deploy Decentralized Applications (DApps).
A Decentralized Application is a serverless html5 application that uses one or more decentralized technologies.
Embark currently integrates with EVM blockchains (Ethereum), Decentralized Storages (IPFS), and Decentralized communication platforms (Whisper and Orbit). Swarm is supported for deployment.
With Embark you can:
Blockchain (Ethereum)
- Automatically deploy contracts and make them available in your JS code. Embark watches for changes, and if you update a contract, Embark will automatically redeploy the contracts (if needed) and the dapp.
- Contracts are available in JS with Promises.
- Do Test Driven Development with Contracts using Javascript.
- Keep track of deployed contracts; deploy only when truly needed.
- Manage different chains (e.g testnet, private net, livenet)
- Easily manage complex systems of interdependent contracts.
Decentralized Storage (IPFS, Swarm)
- Easily Store & Retrieve Data on the DApp through EmbarkJS. Including uploading and retrieving files.
- Deploy the full application to IPFS or Swarm.
- Import and deploy contracts hosted on Swarm.
Decentralized Communication (Whisper, Orbit)
- Easily send/receive messages through channels in P2P through Whisper or Orbit.
Web Technologies
- Integrate with any web technology including React, Foundation, etc..
- Use any build pipeline or tool you wish, including grunt, gulp and webpack.
$ npm -g install embark
Description
Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
https://framework.embarklabs.io/
Languages
JavaScript
73.9%
TypeScript
14%
CSS
8%
HTML
4.1%