51 lines
2.2 KiB
JSON
51 lines
2.2 KiB
JSON
{
|
|
"repository": "https://github.com/polkadot-js/extension",
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"license": "Apache-2",
|
|
"version": "0.38.4-12",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"resolutions": {
|
|
"@polkadot/api": "^4.12.2-6",
|
|
"@polkadot/keyring": "^6.6.1",
|
|
"@polkadot/networks": "^6.6.1",
|
|
"@polkadot/types": "^4.12.2-6",
|
|
"@polkadot/util": "^6.6.1",
|
|
"@polkadot/util-crypto": "^6.6.1",
|
|
"@polkadot/x-fetch": "^6.6.1",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"safe-buffer": "^5.2.1",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"scripts": {
|
|
"build": "polkadot-dev-build-ts && yarn build:zip",
|
|
"build:extra": "yarn build:i18n && yarn build:ui",
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.js",
|
|
"build:release": "polkadot-ci-ghact-build",
|
|
"build:ui": "cd packages/extension && NODE_ENV=production yarn webpack --config webpack.extension.cjs --mode production",
|
|
"build:zip": "yarn build:zip:dst && yarn build:zip:src",
|
|
"build:zip:dst": "rm -rf ./master-build.zip && cd packages/extension/build && zip -r -FS ../../../master-build.zip .",
|
|
"build:zip:src": "rm -rf ./master-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-src.zip packages .editorconfig .eslintignore .eslintrc.js babel.config.cjs CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.js jest.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"lint:css": "stylelint './packages/**/src/**/*.tsx'",
|
|
"clean": "polkadot-dev-clean-build",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"start": "yarn watch",
|
|
"test": "polkadot-dev-run-test --detectOpenHandles",
|
|
"test:one": "polkadot-dev-run-test --detectOpenHandles",
|
|
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.watch.cjs --mode development --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.3",
|
|
"@polkadot/dev": "^0.62.28",
|
|
"@types/jest": "^26.0.23",
|
|
"i18next-scanner": "^3.0.0",
|
|
"sinon-chrome": "^3.0.1",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-recommended": "^5.0.0",
|
|
"stylelint-config-styled-components": "^0.1.1"
|
|
}
|
|
}
|