67 lines
2.6 KiB
JSON
67 lines
2.6 KiB
JSON
{
|
|
"repository": "https://github.com/polkadot-js/apps",
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"license": "Apache-2",
|
|
"private": true,
|
|
"homepage": ".",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"resolutions": {
|
|
"@polkadot/api": "^1.12.0-beta.2",
|
|
"@polkadot/api-contract": "^1.12.0-beta.2",
|
|
"@polkadot/keyring": "^2.8.1",
|
|
"@polkadot/types": "^1.12.0-beta.2",
|
|
"@polkadot/util": "^2.8.1",
|
|
"@polkadot/util-crypto": "^2.8.1",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"scripts": {
|
|
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
|
|
"build": "yarn run build:i18n && yarn run build:code",
|
|
"build:code": "NODE_ENV=production node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.js",
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.js",
|
|
"build:release": "yarn polkadot-ci-ghact-build && yarn polkadot-ci-ghact-docs",
|
|
"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",
|
|
"docs": "echo \"skipping docs\"",
|
|
"clean": "polkadot-dev-clean-build",
|
|
"clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"lint:css": "stylelint './packages/**/src/**/*.tsx'",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"test": "polkadot-dev-run-test packages/page-claims/src",
|
|
"test:one": "polkadot-dev-run-test",
|
|
"start": "yarn clean && cd packages/apps && webpack --config webpack.config.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/register": "^7.9.0",
|
|
"@babel/runtime": "^7.9.2",
|
|
"@polkadot/dev": "^0.52.11",
|
|
"@polkadot/ts": "^0.3.18",
|
|
"@types/bn.js": "^4.11.6",
|
|
"@types/chart.js": "^2.9.19",
|
|
"@types/file-saver": "^2.0.1",
|
|
"@types/i18next": "^13.0.0",
|
|
"@types/jest": "^25.2.1",
|
|
"@types/react-beautiful-dnd": "^12.1.2",
|
|
"@types/react-copy-to-clipboard": "^4.3.0",
|
|
"@types/react-dom": "^16.9.6",
|
|
"@types/react-router-dom": "^5.1.4",
|
|
"@types/react-tooltip": "^3.11.0",
|
|
"@types/store": "^2.0.2",
|
|
"@types/styled-components": "^5.1.0",
|
|
"@types/styled-theming": "^2.2.2",
|
|
"i18next-scanner": "^2.11.0",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"stylelint": "^13.3.2",
|
|
"stylelint-config-recommended": "^3.0.0",
|
|
"stylelint-config-styled-components": "^0.1.1",
|
|
"webpack": "^4.42.1",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-plugin-serve": "^0.12.1"
|
|
}
|
|
}
|