mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-25 21:18:51 +00:00
c4ad3d63e7
This follows on PR #2227. Satisfy new peer dependencies following the bumps: `@storybook/core`, `regenerator-runtime`. Follow storybook's instructions to add `@storybook/preset-create-react-app` as a dependency and also add the needed `.storybook/main.js` in `packages/cockpit/ui/`. Storybook is sensitive to presets being in the immediate project's `node_modules` so add a `"nohoist"` in the root `package.json` for `"embark-ui/@storybook/**"`. After making the changes above, problems related to babel were observed when running `yarn start`. It has been known for some time that having the root babel config's dependencies spec'd in `packages/utils/collective/package.json` (which is the package that actually drives the babel cli) could lead to problems related to deduping, but such problems hadn't been experienced until now. Move the dependencies relevant to the root `babel.config.js` into the root `package.json` and update the explanatory comment in the config.
113 lines
4.6 KiB
JSON
113 lines
4.6 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/cli": "7.7.4",
|
|
"@babel/core": "7.7.4",
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
|
"@babel/plugin-proposal-decorators": "7.7.4",
|
|
"@babel/plugin-proposal-export-default-from": "7.7.4",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.7.4",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.7.4",
|
|
"@babel/plugin-proposal-optional-chaining": "7.7.4",
|
|
"@babel/plugin-syntax-dynamic-import": "7.7.4",
|
|
"@babel/plugin-transform-runtime": "7.7.4",
|
|
"@babel/preset-env": "7.7.4",
|
|
"@babel/preset-typescript": "7.7.4",
|
|
"babel-eslint": "10.0.3",
|
|
"babel-plugin-dynamic-import-node": "2.3.0",
|
|
"babel-plugin-macros": "2.7.1",
|
|
"bignumber.js": "5.0.0",
|
|
"chalk": "2.4.2",
|
|
"coveralls": "3.0.9",
|
|
"eslint": "6.2.2",
|
|
"find-up": "4.1.0",
|
|
"form-data": "2.5.1",
|
|
"fs-extra": "8.1.0",
|
|
"lerna": "3.19.0",
|
|
"lodash.clonedeep": "4.5.0",
|
|
"minimist": "1.2.0",
|
|
"npm-run-all": "4.1.5",
|
|
"nyc": "13.1.0",
|
|
"rimraf": "3.0.0",
|
|
"semver": "5.6.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.17.0",
|
|
"npm": ">=6.11.3",
|
|
"yarn": ">=1.19.1"
|
|
},
|
|
"license": "MIT",
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node scripts/monorun --stream build",
|
|
"build:no-ui": "npm run build -- --ignore embark-ui",
|
|
"ci": "node scripts/monorun --ignore embark-dapp-* --stream ci",
|
|
"ci:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream ci",
|
|
"ci:full": "npm-run-all cwtree typecheck \"lint -- --concurrency={1}\" build:no-ui \"test -- --concurrency={1}\" ci:dapps cwtree -- 1",
|
|
"clean": "node scripts/monorun --stream clean",
|
|
"clean:full": "npx npm-run-all clean clean:top",
|
|
"clean:top": "npm run reset:top && npx rimraf node_modules",
|
|
"coverage": "npm-run-all coverage:collect coverage:report",
|
|
"coverage:collect": "node scripts/coverage-collect",
|
|
"coverage:coveralls": "nyc report --reporter=text-lcov | coveralls || exit 0",
|
|
"coverage:report": "node scripts/coverage-report",
|
|
"coveralls": "npm-run-all coverage:collect coverage:coveralls",
|
|
"cwtree": "node scripts/check-working-tree",
|
|
"deploy:site": "node site/deploy-site",
|
|
"globalize": "node scripts/globalize",
|
|
"lint": "node scripts/monorun --parallel lint",
|
|
"package": "lerna exec --concurrency=1 --no-private --stream -- npm pack",
|
|
"postclean": "npx lerna clean --yes",
|
|
"postreboot": "yarn install",
|
|
"postreboot:full": "yarn install",
|
|
"preci:full": "yarn install",
|
|
"preqa:full": "yarn install",
|
|
"qa": "node scripts/monorun --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",
|
|
"release:nightly": "node scripts/nightly-release",
|
|
"release:stable": "node scripts/stable-release",
|
|
"reset": "node scripts/monorun --stream reset && npm-run-all reset:*",
|
|
"reset:top": "npx rimraf .tsconfig.collective.json .nyc_output coverage",
|
|
"reset:tsbuildinfo": "npx lerna exec --parallel -- npx rimraf node_modules/.cache/tsc",
|
|
"start": "node scripts/monorun --parallel start",
|
|
"test": "node scripts/monorun --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": "node scripts/monorun --stream typecheck",
|
|
"typecheck:clean": "npm run typecheck -- -- -- --clean",
|
|
"watch": "node scripts/monorun --parallel watch",
|
|
"watch:build": "node scripts/monorun --parallel watch:build",
|
|
"watch:lint": "node scripts/monorun --parallel watch:lint",
|
|
"watch:test": "node scripts/monorun --ignore embark-dapp-* --parallel watch:test",
|
|
"watch:typecheck": "node scripts/monorun --parallel watch:typecheck"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"dapps/templates/*",
|
|
"dapps/tests/*",
|
|
"packages/*",
|
|
"packages/cockpit/*",
|
|
"packages/core/*",
|
|
"packages/embarkjs/*",
|
|
"packages/plugins/*",
|
|
"packages/stack/*",
|
|
"packages/utils/*"
|
|
],
|
|
"nohoist": [
|
|
"embark-dapp-template-demo/bootstrap",
|
|
"embark-dapp-test-app/embark-dapp-test-service",
|
|
"embark-dapp-test-app/zeppelin-solidity",
|
|
"embark-ui/@storybook/**",
|
|
"embark-ui/bignumber.js",
|
|
"embark-ui/react-scripts",
|
|
"embark-ui/react-scripts/**",
|
|
"embark/embark-test-contract-0",
|
|
"embark/embark-test-contract-1"
|
|
]
|
|
}
|
|
}
|