-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"repository": "https://github.com/nusantarachain/extension",
"author": "Rantai Nusantara <[email protected]>",
"license": "Apache-2",
"version": "0.1.1",
"private": true,
"workspaces": [
"packages/*"
],
"resolutions": {
"@polkadot/api": "^4.11.2",
"@polkadot/keyring": "^6.5.1",
"@polkadot/networks": "^6.5.1",
"@polkadot/types": "^4.11.2",
"@polkadot/util": "^6.5.1",
"@polkadot/util-crypto": "^6.5.1",
"@polkadot/x-fetch": "^6.5.1",
"babel-core": "^7.0.0-bridge.0",
"safe-buffer": "^5.2.1",
"typescript": "^4.2.4"
},
"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",
"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.16",
"@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"
}
}