forked from 5afe/safe-react
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
194 lines (194 loc) · 7.04 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
{
"name": "safe-react",
"version": "3.30.0",
"description": "Allowing crypto users manage funds in a safer way",
"website": "https://github.com/gnosis/safe-react#readme",
"bugs": {
"url": "https://github.com/gnosis/safe-react/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/gnosis/safe-react.git"
},
"license": "MIT",
"author": {
"name": "Safe Team",
"email": "support@safe.global"
},
"homepage": "/app",
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "cross-env REACT_APP_APP_VERSION=$npm_package_version rescripts --max-old-space-size=8192 build",
"eject": "rescripts eject",
"format:staged": "lint-staged",
"generate-types": "yarn generate-types:spendingLimit && yarn generate-types:safeDeployments && yarn generate-types:erc20 && yarn generate-types:erc721",
"generate-types:erc20": "cross-env typechain --target=web3-v1 --out-dir './src/types/contracts' './node_modules/@openzeppelin/contracts/build/contracts/ERC20.json'",
"generate-types:erc721": "cross-env typechain --target=web3-v1 --out-dir './src/types/contracts' './node_modules/@openzeppelin/contracts/build/contracts/ERC721.json'",
"generate-types:spendingLimit": "cross-env typechain --target=web3-v1 --out-dir './src/types/contracts' ./node_modules/@gnosis.pm/safe-modules-deployments/dist/assets/**/*.json",
"generate-types:safeDeployments": "cross-env typechain --target=web3-v1 --out-dir './src/types/contracts' ./node_modules/@gnosis.pm/safe-deployments/dist/assets/**/*.json",
"lint:check": "eslint './src/**/*.{ts,tsx}'",
"lint:fix": "yarn lint:check --fix",
"postinstall": "patch-package && yarn generate-types",
"prettier:check": "yarn prettier --check",
"prettier:fix": "yarn prettier --write",
"prettier": "prettier './src/**/*.{js,jsx,ts,tsx}'",
"start": "rescripts start",
"start:docker": "docker-compose build && docker-compose up",
"test": "cross-env TZ=Europe/Berlin REACT_APP_ENV=test rescripts test --env=jsdom",
"test:coverage": "REACT_APP_ENV=test yarn test --coverage --watchAll=false",
"test:ci": "REACT_APP_ENV=test yarn test --ci --coverage --json --watchAll=false --testLocationInResults --runInBand --outputFile=jest.results.json",
"update-mocks": "./scripts/update-mocks.sh",
"sentry-upload-sourcemaps": "sentry-cli --auth-token $SENTRY_AUTH_TOKEN releases -o $SENTRY_ORG -p $SENTRY_PROJECT files $npm_package_version upload-sourcemaps ./build/static/js/",
"prepare": "husky install",
"cypress:open": "node ./scripts/cypress.js open",
"cypress:run": "node ./scripts/cypress.js run"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.{.test.*}",
"!src/**/test/**/*",
"!src/**/assets/**"
]
},
"productName": "Safe",
"resolutions": {
"@babel/core": "^7.14.0",
"sass-loader": "^9.0.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@ethersproject/hash": "^5.6.1",
"@gnosis.pm/safe-apps-sdk": "7.8.0",
"@gnosis.pm/safe-apps-sdk-v1": "npm:@gnosis.pm/safe-apps-sdk@0.4.2",
"@gnosis.pm/safe-core-sdk": "^2.0.0",
"@gnosis.pm/safe-deployments": "^1.15.0",
"@gnosis.pm/safe-modules-deployments": "^1.0.0",
"@gnosis.pm/safe-react-components": "^1.1.2",
"@gnosis.pm/safe-react-gateway-sdk": "^3.1.1",
"@gnosis.pm/safe-web3-lib": "^1.0.0",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.0",
"@material-ui/lab": "4.0.0-alpha.60",
"@openzeppelin/contracts": "4.7.3",
"@sentry/react": "^6.10.0",
"@sentry/tracing": "^6.10.0",
"@truffle/hdwallet-provider": "^2.0.8",
"@unstoppabledomains/resolution": "^7.1.4",
"abi-decoder": "^2.4.0",
"axios": "0.21.4",
"bignumber.js": "9.0.1",
"bnc-onboard": "^1.38.2",
"classnames": "^2.2.6",
"currency-flags": "3.2.1",
"date-fns": "^2.20.2",
"eth-sig-util": "^2.5.3",
"ethereumjs-abi": "0.6.8",
"ethereumjs-util": "^7.0.10",
"exponential-backoff": "^3.1.0",
"final-form": "^4.20.2",
"final-form-calculate": "^1.3.2",
"framer-motion": "^4.1.17",
"fuse.js": "^6.4.6",
"history": "4.10.1",
"immutable": "4.0.0-rc.12",
"js-cookie": "^3.0.0",
"lodash": "^4.17.21",
"notistack": "1.0.10",
"object-hash": "^2.1.1",
"qrcode.react": "1.0.1",
"query-string": "7.0.1",
"react": "17.0.2",
"react-device-detect": "^1.17.0",
"react-dom": "17.0.2",
"react-final-form": "^6.5.3",
"react-final-form-listeners": "^1.0.2",
"react-gtm-module": "^2.0.11",
"react-hook-form": "^7.29.0",
"react-intersection-observer": "^8.32.0",
"react-papaparse": "^3.16.1",
"react-qr-reader": "^2.2.1",
"react-redux": "7.2.4",
"react-router-dom": "5.2.0",
"react-scripts": "^4.0.1",
"react-virtuoso": "^2.8.2",
"redux": "4.1.1",
"redux-actions": "^2.6.5",
"redux-localstorage-simple": "^2.4.1",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"semver": "^7.3.2",
"styled-components": "^5.3.0",
"ua-parser-js": "^1.0.2",
"web3": "1.7.0",
"web3-core": "^1.7.0",
"web3-eth-contract": "^1.7.0",
"web3-utils": "^1.7.0"
},
"devDependencies": {
"@gnosis.pm/safe-core-sdk-types": "1.0.0",
"@rescripts/cli": "^0.0.16",
"@sentry/cli": "^1.67.2",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@typechain/web3-v1": "^3.0.0",
"@types/history": "4.6.2",
"@types/jest": "^27.0.1",
"@types/js-cookie": "^2.2.7",
"@types/lodash": "^4.14.177",
"@types/node": "^16.9.1",
"@types/react": "^17.0.21",
"@types/react-dom": "^17.0.9",
"@types/react-gtm-module": "^2.0.1",
"@types/react-redux": "^7.1.18",
"@types/react-router-dom": "^5.1.9",
"@types/redux-actions": "^2.6.2",
"@types/styled-components": "^5.1.11",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"concurrently": "^6.0.0",
"cross-env": "^7.0.3",
"cypress": "^9.5.1",
"cypress-file-upload": "^5.0.8",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.0",
"jest": "26.6.0",
"lint-staged": "^11.1.1",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.4.0",
"redux-mock-store": "^1.5.4",
"sass": "^1.32.0",
"typechain": "^5.1.2",
"typescript": "^4.3.5",
"wait-on": "^6.0.0"
}
}