|
@@ -10,7 +10,7 @@
|
|
|
"name": "pioneer",
|
|
|
"scripts": {
|
|
|
"analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js",
|
|
|
- "build": "yarn run build:code && yarn run build:i18n && mkdir -p build",
|
|
|
+ "build": "yarn run build:i18n && yarn run build:code",
|
|
|
"build:code": "NODE_ENV=production node ./scripts/dev-build-ts.js",
|
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.js && node ./scripts/i18nSort.js",
|
|
|
"build:www": "rm -rf packages/apps/build && mkdir -p packages/apps/build && yarn run build:i18n && cd packages/apps && NODE_ENV=production webpack --config webpack.config.js",
|
|
@@ -76,7 +76,9 @@
|
|
|
"@storybook/react": "^5.2.5",
|
|
|
"json-schema-to-typescript": "^7.1.0",
|
|
|
"storybook-react-router": "^1.0.8",
|
|
|
- "typescript": "^3.9.7"
|
|
|
+ "typescript": "^3.9.7",
|
|
|
+ "eslint-plugin-header": "^3.0.0",
|
|
|
+ "eslint-plugin-sort-destructure-keys": "^1.3.5"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@types/lodash": "^4.14.138",
|
|
@@ -90,23 +92,5 @@
|
|
|
"sass-loader": "^8.0.0",
|
|
|
"style-loader": "^1.0.0",
|
|
|
"@joystream/types": "link:../types"
|
|
|
- },
|
|
|
- "//": "TODO: Move those below to root package.json",
|
|
|
- "workspaces": [
|
|
|
- "packages/apps",
|
|
|
- "packages/apps-*",
|
|
|
- "packages/page-*",
|
|
|
- "packages/react-*"
|
|
|
- ],
|
|
|
- "resolutions": {
|
|
|
- "@polkadot/api": "^1.26.1",
|
|
|
- "@polkadot/api-contract": "^1.26.1",
|
|
|
- "@polkadot/keyring": "^3.0.1",
|
|
|
- "@polkadot/types": "^1.26.1",
|
|
|
- "@polkadot/util": "^3.0.1",
|
|
|
- "@polkadot/util-crypto": "^3.0.1",
|
|
|
- "@polkadot/wasm-crypto": "^1.2.1",
|
|
|
- "babel-core": "^7.0.0-bridge.0",
|
|
|
- "typescript": "^3.9.7"
|
|
|
}
|
|
|
}
|