Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 9.55 KB
/
Copy pathpackage.json
File metadata and controls
209 lines (209 loc) · 9.55 KB
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
208
209
{
"name": "paliwallet",
"version": "4.0.121",
"description": "A Non-Custodial Crypto Wallet",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/syscoin/pali-wallet.git"
},
"license": "MIT",
"engines": {
"node": ">=26.12.1 <27",
"yarn": ">=1.22.22"
},
"scripts": {
"generate-manifest": "node ./source/config/generateManifest.js",
"set-env": "node ./source/config/setEnvAndRun.js",
"dev:chrome": "yarn generate-manifest && cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --config source/config/webpack.dev.js --watch",
"build:chrome": "yarn set-env production chrome 'yarn generate-manifest && webpack --config source/config/webpack.prod.js'",
"build:canary": "yarn set-env canary chrome 'yarn generate-manifest && webpack --config source/config/webpack.prod.js'",
"dev-watch-requests:chrome": "jq '.permissions = if .permissions then (if (.permissions | index(\"webRequest\")) == null then .permissions + [\"webRequest\"] else .permissions end) else [\"webRequest\"] end | .environment = {\"WATCH_REQUESTS\": \"active\"}' manifest.json > modified_manifest.json && mv modified_manifest.json manifest.json && cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --watch",
"dev:firefox": "jq '.permissions = if .permissions then (if (.permissions | index(\"webRequest\")) == null then .permissions + [\"webRequest\"] else .permissions end) else [\"webRequest\"] end' manifest.json > modified_manifest.json && mv modified_manifest.json manifest.json && cross-env NODE_ENV=development cross-env TARGET_BROWSER=firefox webpack --watch",
"dev:opera": "jq '.permissions = if .permissions then (if (.permissions | index(\"webRequest\")) == null then .permissions + [\"webRequest\"] else .permissions end) else [\"webRequest\"] end' manifest.json > modified_manifest.json && mv modified_manifest.json manifest.json && cross-env NODE_ENV=development cross-env TARGET_BROWSER=opera webpack --watch",
"build:firefox": "jq '.permissions = if .permissions then (.permissions | map(select(. != \"webRequest\"))) else .permissions end' manifest.json > modified_manifest.json && mv modified_manifest.json manifest.json && cross-env NODE_ENV=production cross-env TARGET_BROWSER=firefox webpack --config source/config/webpack.prod.js",
"build:opera": "jq '.permissions = if .permissions then (.permissions | map(select(. != \"webRequest\"))) else .permissions end' manifest.json > modified_manifest.json && mv modified_manifest.json manifest.json && cross-env NODE_ENV=production cross-env TARGET_BROWSER=opera webpack --config source/config/webpack.prod.js",
"build": "yarn run build:chrome && yarn run build:firefox && yarn run build:opera",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"prepare": "husky install",
"format": "prettier --single-quote --write .",
"type-check": "tsc --pretty --noEmit",
"test": "NODE_ENV=test jest",
"test:silent": "NODE_ENV=test ENABLE_CHROME_LOGGING=false yarn test",
"test:unit": "NODE_ENV=test jest source/ tests/unit",
"test:recovery-enrollment": "node tests/integration/recoveryEnrollment/run.cjs",
"test:e2e": "NODE_ENV=test rm -rf user-data && playwright test",
"test:e2e:silent": "NODE_ENV=test HEADLESS=true yarn test:e2e",
"e2e:harness": "playwright test --config e2e/playwright.config.ts",
"e2e:harness:headed": "PALI_E2E_HEADED=true playwright test --config e2e/playwright.config.ts",
"e2e:visual": "playwright test --config e2e/playwright.visual.config.ts",
"e2e:visual:update": "playwright test --config e2e/playwright.visual.config.ts --update-snapshots",
"docs:media:capture": "playwright test --config e2e/docs-media/playwright.config.ts capture.spec.ts",
"docs:media:compose": "node e2e/docs-media/compose.mjs",
"test-all": "yarn lint && yarn i18n:check && yarn test:unit",
"i18n:check": "node scripts/i18n-analyze.js",
"analyze": "cross-env NODE_ENV=production webpack --config source/config/webpack.prod.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"analyze:chrome": "cross-env NODE_ENV=production TARGET_BROWSER=chrome webpack --config source/config/webpack.prod.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"postinstall": "node scripts/apply-keyring-fee-rate.cjs"
},
"lint-staged": {
"*.@(ts|tsx|js|jsx)": "eslint --fix"
},
"dependencies": {
"@ant-design/icons": "^6.0.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.25.9",
"@babel/runtime": "7.29.7",
"@bitcoinerlab/secp256k1": "^1.2.0",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^1.0.6",
"@noble/curves": "1.9.7",
"@reduxjs/toolkit": "^2.8.2",
"@sidhujag/sysweb3-core": "1.0.30",
"@sidhujag/sysweb3-keyring": "2.1.12",
"@sidhujag/sysweb3-network": "2.0.0",
"@sidhujag/sysweb3-sentry": "0.1.3",
"@sidhujag/sysweb3-utils": "1.1.282",
"@tippyjs/react": "^4.2.6",
"@trezor/connect-webextension": "10.0.1",
"@types/chrome": "^0.0.270",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"antd": "^6.0.0",
"axios": "^1.18.1",
"big-integer": "1.6.52",
"bignumber.js": "^9.1.2",
"bip32": "^5.0.1",
"bip39": "^3.1.2",
"bitcoinjs-lib": "7.0.5",
"bs58check": "4.0.0",
"buffer": "^6.0.3",
"currency-symbol-map": "^5.1.0",
"currency.js": "^2.0.4",
"date-fns": "^2.30.0",
"dotenv": "^16.4.7",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.23.3",
"ethers": "^6.17.0",
"fast-safe-stringify": "^2.1.1",
"framer-motion": "^6.5.1",
"i18next": "^23.16.4",
"jdenticon": "^3.3.0",
"jest": "^29.7.0",
"jest-chrome": "^0.8.0",
"lodash": "^4.17.21",
"qrcode.react": "^3.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^13.5.0",
"react-icons": "^4.12.0",
"react-redux": "^8.1.3",
"react-router-dom": "^7.18.5",
"react-toastify": "^10.0.6",
"redux": "^5.0.1",
"redux-thunk": "^3.1.0",
"sass": "^1.80.7",
"syscoinjs-lib": "2.0.0",
"syscointx-js": "2.0.0",
"tailwindcss": "^3.4.15",
"tippy.js": "^6.3.7",
"uuid": "^11.1.1",
"zip-webpack-plugin": "^4.0.3"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-destructuring": "^7.25.9",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@cursor/sdk": "^1.0.18",
"@playwright/test": "^1.55.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^18.19.54",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/redux-mock-store": "^1.5.0",
"@types/selenium-webdriver": "^4.1.27",
"@types/uuid": "^9.0.8",
"@types/webpack": "^5.28.5",
"@typescript-eslint/parser": "^7.18.0",
"babel-loader": "^9.2.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.11.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"eslint": "^8.57.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^12.5.0",
"mini-css-extract-plugin": "^2.9.2",
"node-polyfill-webpack-plugin": "^2.0.1",
"postcss": "^8.4.49",
"postcss-loader": "^7.3.4",
"prettier": "^2.8.8",
"redux-mock-store": "^1.5.5",
"resolve-url-loader": "^5.0.0",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.4",
"terser-webpack-plugin": "^5.3.14",
"ts-jest": "^29.4.0",
"tslib": "^2.8.1",
"typescript": "^5.3.3",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.2.1",
"webpack-manifest-plugin": "^5.0.1",
"webpack-merge": "^5.10.0",
"wext-manifest-loader": "^3.0.0",
"wext-manifest-webpack-plugin": "^1.4.1",
"zod": "^4.6.6"
},
"main": "index.js",
"bugs": {
"url": "https://github.com/syscoin/pali-wallet/issues"
},
"homepage": "https://github.com/syscoin/pali-wallet#readme",
"author": "Syscoin",
"resolutions": {
"bip39": "^3.1.2",
"bitcoinjs-lib": "^7.0.5",
"node-fetch": "^2.7.0",
"axios": "^1.21.0",
"node-forge": "1.4.3",
"valibot": "^1.2.0",
"glob": "^10.5.0",
"test-exclude": "^7.0.0",
"jws": "^4.0.1",
"js-yaml": "^4.1.1",
"**/ethers/ws": "8.21.0",
"copy-webpack-plugin/serialize-javascript": "7.1.4",
"css-minimizer-webpack-plugin/serialize-javascript": "7.1.4",
"**/@ledgerhq/device-management-kit/uuid": "11.1.1",
"**/@ledgerhq/device-transport-kit-web-hid/uuid": "11.1.1",
"**/@metamask/utils/uuid": "11.1.1",
"**/sockjs/uuid": "11.1.1"
},
"directories": {
"doc": "docs",
"test": "tests"
},
"keywords": [],
"paliKeyringFeeRatePatch": "keyring.a1dccff.sha256.21ec131b6a86c5d23ad2d992bc92b6b5f39f0034d4d411bb799f5d0662fa22af"
}