-
Notifications
You must be signed in to change notification settings - Fork 524
/
package.json
228 lines (228 loc) · 9.67 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"name": "blockchain-wallet-v4",
"version": "4.101.14",
"license": "AGPL-3.0-or-later",
"private": true,
"author": {
"name": "Blockchain",
"url": "https://blockchain.com"
},
"homepage": "https://github.com/blockchain/blockchain-wallet-v4-frontend",
"bugs": {
"url": "https://github.com/blockchain/blockchain-wallet-v4-frontend/issues"
},
"description": "The frontend wallet application built with React/Redux.",
"keywords": [
"blockchain",
"blockchain.info",
"blockchain.com",
"bitcoin",
"ethereum",
"wallet"
],
"engines": {
"node": ">= 14.16",
"yarn": ">= 1.22"
},
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && node ./scripts/commitHook.js",
"pre-push": "node ./scripts/checkForCircularDeps.js"
}
},
"lint-staged": {
"packages/*/src/**/*.{js,ts,tsx}": [
"eslint --fix",
"yarn jest --bail --findRelatedTests --passWithNoTests"
],
"packages/*/src/**/*.{js,tsx}": [
"stylelint './packages/*/src/**/*.{js,tsx}'"
],
"packages/**/!(*package).json": [
"eslint --fix"
]
},
"postinstall": "rm -rf node_modules/@types/react-native",
"scripts": {
"analyze": "yarn workspace blockchain-wallet-v4-frontend analyze",
"build": "yarn workspace blockchain-wallet-v4-frontend build:dev",
"build:prod": "yarn workspace blockchain-wallet-v4-frontend build:prod",
"ci:compile": "yarn workspace blockchain-wallet-v4-frontend ci:compile",
"ci:lint": "eslint './packages/*/src/**/*.{js,ts,tsx}' --fix && stylelint './packages/*/src/**/*.{js,tsx}'",
"ci:test:build": "yarn wsrun --serial test:build",
"ci:test:core:components": "yarn wsrun --serial --exclude-missing ci:test",
"ci:test:frontend": "yarn workspace blockchain-wallet-v4-frontend ci:test:frontend",
"clean": "cross-env yarn wsrun clean && rimraf build && rimraf coverage && rimraf dist && rimraf node_modules",
"coverage": "cross-env rimraf coverage && yarn wsrun coverage && yarn run report",
"coverage:components": "cross-env rimraf coverage && yarn workspace blockchain-info-components coverage && yarn run report",
"coverage:core": "cross-env rimraf coverage && yarn workspace blockchain-wallet-v4 coverage && yarn run report",
"coverage:frontend": "cross-env rimraf coverage && yarn workspace blockchain-wallet-v4-frontend coverage && yarn run report",
"debug:prod": "yarn workspace blockchain-wallet-v4-frontend debug:prod",
"deploy-storybook": "storybook-to-ghpages",
"graphql-codegen": "yarn workspace blockchain-wallet-v4-frontend graphql-codegen",
"link:resolved:paths": "yarn wsrun --exclude-missing link:resolved:paths",
"lint": "eslint --cache './packages/*/src/**/*.{js,ts,tsx}'",
"lint:components": "eslint './packages/blockchain-info-components/src/**/*.{js,ts,tsx}'",
"lint:core": "eslint './packages/blockchain-wallet-v4/src/**/*.{js,ts,tsx}'",
"lint:css": "stylelint './packages/*/src/**/*.{js,tsx}'",
"lint:fix": "eslint './packages/*/src/**/*.{js,ts,tsx}' --fix",
"lint:frontend": "eslint './packages/blockchain-wallet-v4-frontend/src/**/*.{js,ts,tsx}'",
"manage:translations": "yarn workspace blockchain-wallet-v4-frontend manage:translations",
"report": "npx istanbul report --root ./coverage --dir ./coverage/ text-summary html",
"start": "yarn workspace blockchain-wallet-v4-frontend start:dev",
"start:dev": "yarn workspace blockchain-wallet-v4-frontend start:dev",
"start:prod": "yarn workspace blockchain-wallet-v4-frontend start:prod",
"start:staging": "yarn workspace blockchain-wallet-v4-frontend start:staging",
"storybook:build-wallet": "build-storybook",
"storybook:build-base": "yarn workspace blockchain-info-components storybook:build",
"storybook:serve-wallet": "start-storybook -p 6006",
"storybook:serve-base": "yarn workspace blockchain-info-components storybook:serve",
"storybook:deploy-wallet": "yarn storybook:build-wallet && yarn deploy-storybook --existing-output-dir=./storybook-static",
"storybook:deploy-base": "yarn workspace blockchain-info-components storybook:build && yarn workspace blockchain-info-components storybook:deploy",
"test": "cross-env yarn wsrun --serial test:build && yarn wsrun --serial test",
"test:components": "yarn workspace blockchain-info-components test",
"test:components:debug": "yarn workspace blockchain-info-components test:debug",
"test:components:update": "yarn workspace blockchain-info-components test:update",
"test:components:watch": "yarn workspace blockchain-info-components test:watch",
"test:core": "yarn workspace blockchain-wallet-v4 test",
"test:core:debug": "yarn workspace blockchain-wallet-v4 test:debug",
"test:core:watch": "yarn workspace blockchain-wallet-v4 test:watch",
"test:frontend": "yarn workspace blockchain-wallet-v4-frontend test",
"test:frontend:debug": "yarn workspace blockchain-wallet-v4-frontend test:debug",
"test:frontend:update": "yarn workspace blockchain-wallet-v4-frontend test:update",
"test:frontend:watch": "yarn workspace blockchain-wallet-v4-frontend test:watch",
"release": "release-it",
"vet": "yarn lint:fix && yarn lint:css && yarn test"
},
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-proposal-private-property-in-object": "7.14.5",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.14.8",
"@babel/preset-react": "7.14.5",
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@formatjs/cli": "4.2.28",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
"@react-theming/storybook-addon": "1.1.1",
"@reduxjs/toolkit": "1.6.0",
"@release-it/conventional-changelog": "^7.0.0",
"@storybook/addon-actions": "6.3.6",
"@storybook/addon-essentials": "6.3.6",
"@storybook/addon-info": "5.3.21",
"@storybook/addon-links": "6.3.6",
"@storybook/cli": "6.3.6",
"@storybook/react": "6.3.6",
"@storybook/storybook-deployer": "2.8.10",
"@types/applepayjs": "3.0.4",
"@types/googlepay": "0.6.4",
"@types/gtag.js": "0.0.11",
"@types/hoist-non-react-statics": "3.3.1",
"@types/jest": "26.0.22",
"@types/node": "14.14.41",
"@types/ramda": "0.26.44",
"@types/react": "17.0.3",
"@types/react-redux": "7.1.16",
"@types/react-select": "5.0.1",
"@types/redux-form": "8.2.3",
"@types/styled-components": "5.1.9",
"@types/uuid": "8.3.0",
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.33.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
"babel-jest": "27.0.6",
"babel-loader": "8.2.2",
"babel-plugin-inline-react-svg": "2.0.1",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-react-html-attrs": "3.0.5",
"base64url": "3.0.1",
"bs58": "4.0.1",
"cache-loader": "4.1.0",
"case-sensitive-paths-webpack-plugin": "2.4.0",
"chalk": "4.1.1",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "7.0.0",
"coveralls": "3.1.1",
"cross-env": "7.0.3",
"css-loader": "4.3.0",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.2",
"eslint": "7.31.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-constellation": "0.0.26",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.3.5",
"eslint-plugin-jest-dom": "3.9.0",
"eslint-plugin-json": "3.0.0",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-sort-destructure-keys": "1.3.5",
"eslint-plugin-sort-keys-fix": "1.1.1",
"eslint-plugin-typescript-sort-keys": "1.7.0",
"express": "4.17.1",
"favicons": "6.2.2",
"favicons-webpack-plugin": "5.0.2",
"fork-ts-checker-webpack-plugin": "6.4.0",
"futoin-hkdf": "1.4.2",
"hoist-non-react-statics": "3.3.2",
"html-replace-webpack-plugin": "2.6.0",
"html-webpack-plugin": "5.5.0",
"husky": "3.0.5",
"identity-obj-proxy": "3.0.0",
"istanbul": "0.4.5",
"jest": "27.0.6",
"jest-cli": "27.0.6",
"jest-css-modules": "2.1.0",
"jest-fetch-mock": "3.0.3",
"lint-staged": "10.5.4",
"madge": "5.0.1",
"mock-socket": "9.0.3",
"node-polyfill-webpack-plugin": "1.1.4",
"prettier": "2.3.2",
"prettier-config-constellation": "0.0.5",
"react-refresh": "0.11.0",
"react-refresh-typescript": "2.0.3",
"redux-mock-store": "1.5.4",
"redux-saga-test-plan": "4.0.6",
"release-it": "^16.0.0",
"rimraf": "3.0.2",
"staged-git-files": "1.2.0",
"storybook-dark-mode": "1.0.8",
"style-loader": "2.0.0",
"stylelint": "13.13.1",
"stylelint-config-constellation": "0.0.5",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-recommended": "4.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-prettier": "1.2.0",
"stylelint-processor-styled-components": "1.10.0",
"terser-webpack-plugin": "5.3.1",
"themeprovider-storybook": "1.7.2",
"thread-loader": "3.0.4",
"ts-jest": "27.0.4",
"ts-loader": "8.3.0",
"typecov": "0.2.3",
"typescript": "4.4.4",
"webpack": "5.76.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.7.4",
"wsrun": "5.2.4"
},
"resolutions": {
"qr.js": "https://github.com/defunctzombie/qr.js.git"
}
}