mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 05:46:03 +00:00
df0064f1a9
`package.json` allows for a [`"files"` whitelist][files] to be specified as an alternative to a top-level `.npmignore` within a package root. Maintaining whitelists is generally easier and less error-prone than maintaining blacklists, so implement a `"files"` list for all non-private packages in the monorepo and remove unneeded `.npmignore` files. Switch `embark-reset` from being a private package to one that will be published, adjust the workspace's `"nohoist"` setting accordingly, and no longer specify `embark-reset` as a bundled dependency of `packages/embark`. I originally thought there might be a good reason not to publish it, but I no longer think so. Remove unnecessary LICENSE files in `packages/{embark,embark-ui}` since Lerna will automatically copy the root LICENSE into any packages lacking that file, i.e. before tarballs are packed and published to the NPM registry. Change the `"author"` field of `packages/embarkjs-connector-web3` to match the other packages, i.e. such that it matches the copyright assignment in the root LICENSE. If that's not a desirable thing to do, then instead that package can have a separate LICENSE file that has a copyright assignment for `"Jonathan Rainville"`. Supply some missing `.npmrc` files in `packages/*`. [files]: https://docs.npmjs.com/files/package.json#files
79 lines
2.9 KiB
JSON
79 lines
2.9 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "7.2.2",
|
|
"@babel/plugin-proposal-class-properties": "7.3.0",
|
|
"@babel/plugin-proposal-decorators": "7.3.0",
|
|
"@babel/plugin-proposal-optional-chaining": "7.2.0",
|
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
"@babel/plugin-transform-runtime": "7.2.0",
|
|
"@babel/preset-env": "7.3.1",
|
|
"@babel/preset-typescript": "7.1.0",
|
|
"babel-plugin-dynamic-import-node": "2.2.0",
|
|
"babel-plugin-macros": "2.4.5",
|
|
"chalk": "2.4.2",
|
|
"lerna": "3.13.1",
|
|
"lodash.clonedeep": "4.5.0",
|
|
"minimist": "1.2.0",
|
|
"npm-run-all": "4.1.5",
|
|
"rimraf": "2.6.3",
|
|
"semver": "5.6.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.12.0",
|
|
"npm": ">=6.4.1",
|
|
"yarn": ">=1.12.3"
|
|
},
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "lerna run --stream build",
|
|
"build:no-ui": "npm run build -- --ignore embark-ui",
|
|
"ci": "lerna run --ignore embark-dapp-* --stream ci",
|
|
"ci:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream ci",
|
|
"ci:full": "npm-run-all cwtree \"ci -- --concurrency={1}\" ci:dapps cwtree -- 1",
|
|
"clean": "npx lerna run --stream clean",
|
|
"clean:full": "npx npm-run-all clean clean:top",
|
|
"clean:top": "npx rimraf node_modules",
|
|
"cwtree": "node scripts/check-working-tree",
|
|
"globalize": "node scripts/globalize",
|
|
"lint": "lerna run --parallel lint",
|
|
"package": "lerna run --parallel package",
|
|
"postclean": "npx lerna clean --yes",
|
|
"postreboot": "yarn install",
|
|
"postreboot:full": "yarn install",
|
|
"preci:full": "yarn install",
|
|
"preqa:full": "yarn install",
|
|
"qa": "lerna run --ignore embark-dapp-* --stream qa",
|
|
"qa:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream qa",
|
|
"qa:full": "npm-run-all cwtree reboot:full cwtree \"qa -- --concurrency={1}\" qa:dapps cwtree -- 1",
|
|
"reboot": "npm run clean",
|
|
"reboot:full": "npm run clean:full",
|
|
"release": "node scripts/release",
|
|
"reset": "npx lerna run --stream reset",
|
|
"start": "lerna run --parallel start",
|
|
"test": "lerna run --ignore embark-dapp-* --stream test",
|
|
"test:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream test",
|
|
"test:full": "npm-run-all test test:dapps",
|
|
"typecheck": "lerna run --parallel typecheck",
|
|
"watch": "lerna run --parallel watch"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"dapps/templates/*",
|
|
"dapps/tests/*",
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"embark/embark-test-contract-0",
|
|
"embark/embark-test-contract-1",
|
|
"embark-dapp-template-boilerplate/embarkjs-connector-web3",
|
|
"embark-dapp-template-demo/embarkjs-connector-web3",
|
|
"embark-dapp-template-simple/embarkjs-connector-web3",
|
|
"embark-dapp-test-app/embark-dapp-test-service",
|
|
"embark-dapp-test-app/embarkjs-connector-web3",
|
|
"embark-dapp-test-app/zeppelin-solidity",
|
|
"embark-dapp-test-contracts/embarkjs-connector-web3"
|
|
]
|
|
}
|
|
}
|