-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
179 lines (179 loc) · 8.4 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
{
"name": "Casper Wallet",
"description": "Securely manage your CSPR tokens and interact with dapps with the self-custody wallet for the Casper blockchain.",
"version": "1.12.0",
"author": "MAKE LLC",
"scripts": {
"devtools:redux": "redux-devtools --hostname=localhost",
"build:manifest:v2:firefox": "NODE_ENV=production BABEL_ENV=production BROWSER=firefox HASH=$(git rev-parse HEAD) node utils/build.js",
"build:manifest:v2:safari": "NODE_ENV=production BABEL_ENV=production BROWSER=safari HASH=$(git rev-parse HEAD) node utils/build.js",
"build:manifest:v3:chrome": "NODE_ENV=production BABEL_ENV=production BROWSER=chrome HASH=$(git rev-parse HEAD) node utils/build.js",
"dev:build:manifest:v2:firefox": "NODE_ENV=development BABEL_ENV=development BROWSER=firefox HASH=$(git rev-parse HEAD) node utils/build.js",
"dev:build:manifest:v2:safari": "NODE_ENV=development BABEL_ENV=development BROWSER=safari HASH=$(git rev-parse HEAD) node utils/build.js",
"dev:build:manifest:v3:chrome": "NODE_ENV=development BABEL_ENV=development BROWSER=chrome HASH=$(git rev-parse HEAD) node utils/build.js",
"build:chrome": "rm -rf ./build/chrome && npm run build:manifest:v3:chrome",
"package:chrome": "web-ext --no-config-discovery build -s ./build/chrome",
"build:firefox": "rm -rf ./build/firefox && npm run build:manifest:v2:firefox",
"package:firefox": "web-ext --no-config-discovery build -s ./build/firefox",
"build:safari": "npm run build:manifest:v2:safari && ./scripts/build_safari.sh",
"build:src": "./scripts/build_src.sh",
"build:all": "./scripts/build_all.sh",
"dev:build:chrome": "rm -rf ./output/chrome && npm run dev:build:manifest:v3:chrome",
"dev:build:firefox": "rm -rf ./output/firefox && npm run dev:build:manifest:v2:firefox",
"dev:chrome": "npm run dev:build:chrome && NODE_ENV=development BABEL_ENV=development BROWSER=chrome HASH=$(git rev-parse HEAD) PORT=3001 node utils/webserver.js",
"start:chrome": "concurrently -k -n start,redux \"npm run dev:chrome\" \"npm run devtools:redux -- --port=8000\"",
"dev:firefox": "npm run dev:build:firefox && NODE_ENV=development BABEL_ENV=development BROWSER=firefox HASH=$(git rev-parse HEAD) PORT=3002 node utils/webserver.js",
"start:firefox": "concurrently -k -n start,redux \"npm run dev:firefox\" \"npm run devtools:redux -- --port=8001\"",
"start:safari": "npm run dev:build:manifest:v2:safari && ./convert-web-extension.sh && NODE_ENV=development BABEL_ENV=development BROWSER=safari PORT=3003 node utils/webserver.js",
"format:check": "prettier --check 'src/*.{js,jsx,ts,tsx,json,md}'",
"format:write": "prettier --write 'src/*.{js,jsx,ts,tsx,json,md}'",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"tsc": "tsc -p ./ --noEmit",
"test": "jest --no-cache --passWithNoTests",
"prepare": "husky",
"locale:extract_pot": "i18next 'src/**/*.{ts,tsx}' && node scripts/locale_extract_pot.js",
"locale:update_translations": "node scripts/locale_update_translations.js",
"ci-check": "npm run format:check && npm run lint && npm run tsc && npm run test",
"dependency:graph": "npx madge --ts-config=tsconfig.json --image=graph.svg src/background/index.ts",
"dependency:circular": "npx madge --ts-config=tsconfig.json --circular src/background/index.ts",
"dependency:orphans": "npx madge --ts-config=tsconfig.json --orphans src/**/*",
"e2e:chrome:headless:onboarding": "TEST_ENV=true npm run build:chrome && PLAYWRIGHT_BROWSER=chromium npx playwright test e2e-tests/onboarding-flow --project chromium",
"e2e:chrome:ui:onboarding": "TEST_ENV=true npm run build:chrome && PLAYWRIGHT_BROWSER=chromium npx playwright test e2e-tests/onboarding-flow --ui --project chromium",
"e2e:chrome:headless:popup": "TEST_ENV=true MOCK_STATE=true npm run build:chrome && PLAYWRIGHT_BROWSER=chromium npx playwright test e2e-tests/popup --project chromium",
"e2e:chrome:ui:popup": "TEST_ENV=true MOCK_STATE=true npm run build:chrome && PLAYWRIGHT_BROWSER=chromium npx playwright test e2e-tests/popup --ui --project chromium"
},
"lint-staged": {
"*.md": "markdownlint",
"src/**/*.{js,jsx,ts,tsx,json,md}": [
"npm run format:write"
]
},
"resolutions": {
"styled-components": "^5"
},
"dependencies": {
"@bringweb3/chrome-extension-kit": "^1.2.4",
"@formatjs/intl": "2.10.4",
"@hookform/resolvers": "2.9.10",
"@lapo/asn1js": "1.2.4",
"@ledgerhq/hw-transport": "^6.30.6",
"@ledgerhq/hw-transport-web-ble": "^6.28.6",
"@ledgerhq/hw-transport-webhid": "^6.28.6",
"@ledgerhq/hw-transport-webusb": "^6.28.6",
"@lottiefiles/react-lottie-player": "3.5.3",
"@make-software/ces-js-parser": "1.3.2",
"@noble/ciphers": "^0.3.0",
"@scure/bip32": "1.3.2",
"@scure/bip39": "1.2.1",
"@tanstack/react-query": "^5.52.3",
"@types/argon2-browser": "1.18.1",
"@types/webextension-polyfill": "0.9.2",
"@zondax/ledger-casper": "^2.6.1",
"base64-loader": "1.0.0",
"big.js": "^6.2.1",
"casper-cep18-js-client": "1.0.2",
"casper-js-sdk": "2.15.4",
"casper-wallet-core": "git+ssh://[email protected]:make-software/casper-wallet-core.git#v0.9.7",
"date-fns": "^2.30.0",
"dotenv-webpack": "^8.1.0",
"i18next": "^23.11.0",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "2.5.0",
"i18next-parser": "7.9.0",
"jszip": "^3.10.1",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "4.1.1",
"mac-scrollbar": "^0.13.6",
"md5": "^2.3.0",
"micro-aes-gcm": "0.3.3",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.3.1",
"react-hook-form": "7.48.2",
"react-i18next": "14.1.0",
"react-infinite-scroll-hook": "^4.1.1",
"react-inlinesvg": "3.0.3",
"react-loading-skeleton": "^3.3.1",
"react-player": "^2.16.0",
"react-redux": "8.0.5",
"react-router-dom": "6.28.0",
"react-virtualized": "^9.22.5",
"redux": "4.2.1",
"redux-saga": "1.2.3",
"reselect": "4.1.7",
"styled-components": "5.3.6",
"typesafe-actions": "5.1.0",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/core": "7.23.3",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "^7.23.3",
"@playwright/test": "^1.48.1",
"@redux-devtools/cli": "^4.0.0",
"@redux-devtools/remote": "^0.9.3",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/big.js": "^6.1.6",
"@types/chrome": "0.0.246",
"@types/expect": "^24.3.0",
"@types/jest": "29.5.12",
"@types/lodash.throttle": "4.1.7",
"@types/md5": "^2.3.5",
"@types/node": "^20.9.0",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.3.0",
"@types/react-virtualized": "^9.21.30",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/parser": "^5.62.0",
"babel-eslint": "^10.1.0",
"babel-loader": "9.1.0",
"babel-preset-react-app": "^10.0.0",
"concurrently": "7.6.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "6.8.1",
"eslint": "8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"file-loader": "^6.2.0",
"fs-extra": "11.2.0",
"html-loader": "4.2.0",
"html-webpack-plugin": "^5.6.0",
"husky": "9.1.6",
"i18next-conv": "15.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.3.1",
"lint-staged": "14.0.1",
"markdownlint": "0.34.0",
"markdownlint-cli": "0.42.0",
"prettier": "3.1.0",
"source-map-loader": "4.0.1",
"style-loader": "^3.3.4",
"terser-webpack-plugin": "5.3.6",
"ts-jest": "29.1.1",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "5.4.5",
"url-loader": "^4.1.1",
"web-ext": "7.9.0",
"webextension-polyfill": "0.10.0",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "^4.15.1",
"xcode-build-webpack-plugin": "^1.0.2"
}
}