forked from Conflux-Chain/helios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
207 lines (207 loc) · 6.49 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "helios",
"private": true,
"workspaces": [
"websites/*",
"packages/doc-ui/*",
"packages/ui/components/*",
"packages/ui/*",
"packages/rpcs/*",
"packages/*"
],
"engines": {
"node": ">=15"
},
"resolutions": {
"@fluent-wallet/hw-app-conflux/js-conflux-sdk": "2.0.7",
"@conflux-dev/conflux-address-js": "1.3.13",
"bn.js": "5.2.0",
"tslib": "^2.3.1",
"ethereumjs-vm": "4.2.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"babel-plugin-dynamic-import-node": "2.3.3",
"esinstall/rollup-plugin-polyfill-node": "0.8.0",
"esinstall/cjs-module-lexer": "^1.2.2",
"esinstall/es-module-lexer": "^0.9.3",
"esinstall/@rollup/plugin-node-resolve": "^10.0.0",
"@ethersproject/address": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/properties": "^5.7.0",
"@ethersproject/strings": "^5.7.0",
"@ethersproject/sha2": "^5.7.0",
"js-conflux-sdk": "^2.1.9",
"big.js": "^5.2.2",
"eth-lib": "0.2.8",
"@ethersproject/abi": "^5.7.0"
},
"scripts": {
"postinstall": "husky install && yarn run prod:shadow",
"compile:inpage": "swc --config-file scripts/inpage.swcrc.json -o packages/browser-extension/build/inpage/dist/index.js --source-maps inline packages/browser-extension/build/inpage/dist/index.js",
"dev": "cross-env NODE_ENV=development node scripts/dev.js",
"firefox:dev": "web-ext run --start-url 'about:devtools-toolbox?id=fluent-wallet%40confluxnetwork.org&type=extension' --firefox-profile resources/firefox-debug-profile/ --source-dir packages/browser-extension/",
"doc": "yarn workspace doc start",
"prod-all": "cross-env NODE_ENV=production node scripts/prod.js",
"prod:shadow": "shadow-cljs release spec db",
"prod": "cross-env NODE_ENV=production run-s prod-all",
"prod:zip": "node ./scripts/create-zip.cjs",
"prod:release": "yarn prod && yarn prod:zip",
"lint": "eslint --ignore-path .gitignore packages",
"lint:fix": "yarn run lint --fix",
"test:unit": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest --no-cache --testPathIgnorePatterns '.*\\.integration\\.test\\.jsx?'",
"test:integration": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test node ./scripts/integration-test.js --no-cache --config='./integration.jest.config.js'",
"contract:compile": "bash ./scripts/solc.sh",
"contract:watch": "watchexec --restart --on-busy-update queue -w ./contracts/ --debounce 500 yarn run contract:compile"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/eslint-parser": "7.17.0",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@cztocm/node-modules-polyfill": "0.1.9",
"@mdx-js/esbuild": "2.1.1",
"@mdx-js/react": "1.6.22",
"@size-limit/esbuild": "7.0.8",
"@snowpack/plugin-dotenv": "^2.2.0",
"@snowpack/plugin-postcss": "1.4.3",
"@snowpack/plugin-react-refresh": "^2.5.0",
"@snowpack/plugin-webpack": "3.0.0",
"@swc/cli": "0.1.57",
"@swc/core": "1.2.197",
"@swc/helpers": "0.3.17",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.5",
"@types/babel__preset-env": "^7",
"@types/finalhandler": "^1",
"@types/js-string-escape": "^1",
"@types/serve-static": "^1",
"@yarnpkg/esbuild-plugin-pnp": "3.0.0-rc.2",
"@yqrashawn/snowpack": "3.8.6-fix-6",
"autoprefixer": "^10.4.7",
"babel-loader": "8.2.4",
"browserslist": "^4.20.4",
"concurrently": "^7.2.1",
"cross-env": "^7.0.3",
"cssnano": "5.1.11",
"dot-env": "^0.0.1",
"dotenv-expand": "^8.0.3",
"esbuild": "0.14.43",
"esbuild-plugin-alias": "0.2.1",
"esbuild-plugin-browserslist": "0.4.10",
"esbuild-style-plugin": "1.6.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-testing-library": "^5.3.1",
"finalhandler": "1.2.0",
"fs-extra": "^10.1.0",
"highlight.js": "9.18.5",
"husky": "^8.0.1",
"identity-obj-proxy": "3.0.0",
"jest": "^27.5.1",
"jest-webextension-mock": "^3.7.22",
"js-string-escape": "1.0.1",
"lint-staged": "^13.0.1",
"mustache": "^4.2.0",
"nock": "13.2.6",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"prettier-plugin-solidity": "1.0.0-beta.18",
"ramda": "^0.28.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-highlight.js": "1.0.7",
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.2",
"serve-static": "1.15.0",
"shadow-cljs": "^2.19.4",
"stylelint": "^14.9.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^26.0.0",
"tailwindcss": "^3.1.1",
"wait-for-expect": "3.0.2",
"web-ext": "7.0.0",
"zip-a-folder": "1.1.3"
},
"nohoist": [
"*/@docusaurus/*",
"**/html-minifier-terser"
],
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Edge versions"
],
"husky": {
"hooks": {
"pre-commit": [
"lint-staged",
"yarn version check"
]
}
},
"prettier": {
"semi": false,
"bracketSpacing": false,
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"overrides": [
{
"files": ".yarnrc.yml",
"options": {
"singleQuote": false
}
}
]
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
],
"*.css": [
"prettier --write",
"stylelint"
]
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"tailwind",
"apply",
"variants",
"responsive",
"screen"
]
}
],
"declaration-block-trailing-semicolon": null,
"no-descending-specificity": null
}
},
"packageManager": "[email protected]"
}