mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 05:23:26 +00:00
9caa424aeb
Make various related changes to templates, tests, etc. The methodology for finding files that needed changes was to search through the whole monorepo for the strings "solc" and "solidity" and then inspect the hits to see whether changes were needed/appropriate. Remove `solc` as a dependency in `packages/embark/package.json` so that it's only a proper dependency in `packages/plugins/solidity/package.json`. Adjust how the "bundled" `solc` package's version is determined, i.e. inspect the `package.json` of `embark-solidity` instead of `embark`. When `solc`'s version is `>=0.6.0` use the [new callback API][api]. [api]: https://github.com/ethereum/solc-js/blob/master/README.md#example-usage-with-import-callback
24 lines
474 B
JSON
24 lines
474 B
JSON
{
|
|
"contracts": ["contracts/**"],
|
|
"app": {
|
|
"js/dapp.js": ["app/dapp.js"],
|
|
"index.html": "app/index.html",
|
|
"images/": ["app/images/**"],
|
|
"css/bootstrap.min.css": "node_modules/bootstrap/dist/css/bootstrap.min.css"
|
|
},
|
|
"buildDir": "dist/",
|
|
"config": "config/",
|
|
"versions": {
|
|
"solc": "0.6.1"
|
|
},
|
|
"plugins": {
|
|
},
|
|
"options": {
|
|
"solc": {
|
|
"optimize": true,
|
|
"optimize-runs": 200
|
|
}
|
|
},
|
|
"generationDir": "embarkArtifacts"
|
|
}
|