|
1 | 1 | { |
2 | 2 | "name": "@0x/website", |
3 | 3 | "version": "0.0.89", |
| 4 | + "packageManager": "pnpm@9.15.0", |
4 | 5 | "engines": { |
5 | | - "node": ">=14 <15" |
| 6 | + "node": "24.x" |
6 | 7 | }, |
7 | 8 | "private": true, |
8 | 9 | "description": "Website and 0x portal dapp", |
9 | 10 | "scripts": { |
10 | | - "build": "yarn build:dev", |
| 11 | + "build": "pnpm build:dev", |
11 | 12 | "build:prod": "node --max_old_space_size=16384 ./node_modules/webpack/bin/webpack.js --mode production", |
12 | | - "build:dev": "node --max-old-space-size=16384 ./node_modules/webpack/bin/webpack.js --mode development", |
| 13 | + "build:dev": "node --max_old_space_size=16384 ./node_modules/webpack/bin/webpack.js --mode development", |
13 | 14 | "clean": "shx rm -rf public/bundle* mdx/tools", |
14 | 15 | "typecheck": "tsc --pretty --noEmit", |
15 | 16 | "test": "jest", |
16 | 17 | "test:watch": "jest --watch", |
17 | 18 | "eslint": "eslint 'ts/**/*.{ts,tsx}'", |
18 | 19 | "lint": "tslint --format stylish --project . 'ts/**/*.ts' 'ts/**/*.tsx'", |
19 | | - "fix": "yarn lint --fix", |
20 | | - "pre_push": "yarn typecheck && yarn lint:prettier && yarn lint && yarn test", |
21 | | - "dev": "node --max-old-space-size=16384 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode development --content-base public", |
22 | | - "deploy_dogfood": "npm run build:prod && aws s3 sync ./public/. s3://dogfood.0xproject.com --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers && ./cdn-cache-clear.sh dogfood", |
23 | | - "deploy_staging": "&& npm run build:prod && aws s3 sync ./public/. s3://staging-0xproject --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", |
| 20 | + "fix": "pnpm lint --fix", |
| 21 | + "pre_push": "pnpm typecheck && pnpm lint:prettier && pnpm lint && pnpm test", |
| 22 | + "dev": "node --max_old_space_size=16384 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode development --content-base public", |
| 23 | + "deploy_dogfood": "pnpm run build:prod && aws s3 sync ./public/. s3://dogfood.0xproject.com --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers && ./cdn-cache-clear.sh dogfood", |
| 24 | + "deploy_staging": "&& pnpm run build:prod && aws s3 sync ./public/. s3://staging-0xproject --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", |
24 | 25 | "deploy_live": " DEPLOY_ROLLBAR_SOURCEMAPS=true npm run build:prod && aws s3 sync ./public/. s3://0x.org --profile $(npm config get awscli_profile) --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --exclude *.map.js && ./cdn-cache-clear.sh live", |
25 | 26 | "prettier": "prettier --write \"ts/**/*.{ts,tsx,js,json,css,yml,md}\"", |
26 | 27 | "lint:prettier": "prettier --check \"ts/**/*.{ts,tsx,js,json,css,yml,md}\"", |
27 | 28 | "postinstall": "patch-package" |
28 | 29 | }, |
29 | | - "resolutions": { |
30 | | - "node-hid": "2.1.1", |
31 | | - "scrypt": "github:barrysteyn/node-scrypt#fb60a8d", |
32 | | - "websocket": "github:frozeman/WebSocket-Node#browserifyCompatible" |
| 30 | + "pnpm": { |
| 31 | + "overrides": { |
| 32 | + "node-hid": "2.1.1", |
| 33 | + "scrypt": "github:barrysteyn/node-scrypt#fb60a8d", |
| 34 | + "websocket": "github:frozeman/WebSocket-Node#browserifyCompatible", |
| 35 | + "typescript": "^4.0.0" |
| 36 | + } |
33 | 37 | }, |
34 | 38 | "author": "Fabio Berger", |
35 | 39 | "license": "Apache-2.0", |
36 | 40 | "dependencies": { |
37 | 41 | "@0x/asset-buyer": "6.2.0-beta.3", |
38 | | - "@0x/contract-addresses": "^4.1.0", |
39 | | - "@0x/contract-wrappers": "^13.18.0", |
| 42 | + "@0x/contract-addresses": "^4.12.0", |
| 43 | + "@0x/contract-wrappers": "12.2.0-beta.4", |
40 | 44 | "@0x/contracts-dev-utils": "^1.0.2", |
41 | 45 | "@0x/contracts-treasury": "^1.4.2", |
42 | 46 | "@0x/json-schemas": "^6.4.0", |
|
60 | 64 | "basscss": "^8.0.3", |
61 | 65 | "blockies": "^0.0.2", |
62 | 66 | "bowser": "^1.9.4", |
| 67 | + "buffer": "^6.0.3", |
63 | 68 | "change-case": "^3.0.2", |
64 | 69 | "chart.js": "^2.8.0", |
65 | 70 | "color": "^3.1.2", |
|
71 | 76 | "dotenv": "^10.0.0", |
72 | 77 | "dotenv-webpack": "^7.0.3", |
73 | 78 | "ethereum-types": "^3.6.0", |
74 | | - "ethereumjs-util": "^5.1.1", |
| 79 | + "ethereumjs-util": "^5.2.1", |
75 | 80 | "ethers": "^5.0.24", |
76 | 81 | "find-versions": "^2.0.0", |
77 | 82 | "flickity": "^2.2.2", |
78 | 83 | "fuse.js": "^3.4.6", |
79 | 84 | "graphql": "^15.5.1", |
80 | 85 | "graphql-request": "^3.5.0", |
81 | 86 | "is-mobile": "^0.2.2", |
82 | | - "less": "^2.7.2", |
| 87 | + "less": "^4.2.0", |
83 | 88 | "lodash": "^4.17.11", |
84 | 89 | "lottie-web": "^5.6.2", |
85 | 90 | "marked": "^2.0.0", |
|
94 | 99 | "patch-package": "^6.4.7", |
95 | 100 | "polished": "^1.9.2", |
96 | 101 | "postinstall-postinstall": "^2.1.0", |
| 102 | + "process": "^0.11.10", |
| 103 | + "prop-types": "^15.7.2", |
97 | 104 | "query-string": "^6.0.0", |
98 | 105 | "rc-slider": "^8.6.3", |
99 | | - "react": "^16.12.0", |
| 106 | + "rc-tooltip": "^6.4.0", |
| 107 | + "react": "^16.14.0", |
100 | 108 | "react-autosuggest": "^9.4.3", |
101 | 109 | "react-chartjs-2": "^2.7.6", |
102 | 110 | "react-copy-to-clipboard": "^5.0.0", |
103 | | - "react-dom": "^16.12.0", |
| 111 | + "react-dom": "^16.14.0", |
104 | 112 | "react-flickity-component": "^3.6.1", |
105 | 113 | "react-headroom": "2.2.2", |
106 | 114 | "react-helmet": "^5.2.1", |
107 | | - "react-highlight": "0xproject/react-highlight#react-peer-deps", |
108 | 115 | "react-instantsearch-dom": "^5.7.0", |
| 116 | + "react-is": "^16.13.1", |
109 | 117 | "react-markdown": "^4.0.6", |
110 | 118 | "react-minimal-pie-chart": "^8.2.0", |
111 | 119 | "react-popper": "^1.0.0-beta.6", |
112 | 120 | "react-query": "^3.7.1", |
113 | 121 | "react-redux": "^7.1.3", |
114 | 122 | "react-responsive": "^6.0.1", |
115 | 123 | "react-router-dom": "^5.1.2", |
116 | | - "react-scroll": "https://github.com/0xProject/react-scroll.git#d2afc2729dc09980e4113d8c38a1b012ba180d81", |
| 124 | + "react-scroll": "^1.9.3", |
117 | 125 | "react-scrollable-anchor": "^0.6.1", |
118 | 126 | "react-spring": "^8.0.27", |
119 | 127 | "react-spring-latest": "npm:react-spring@9.1.2", |
|
125 | 133 | "redux": "^4.0.4", |
126 | 134 | "redux-devtools-extension": "^2.13.2", |
127 | 135 | "rollbar": "^2.4.7", |
128 | | - "sass-loader": "^7.1.0", |
| 136 | + "sass-loader": "^16.0.4", |
129 | 137 | "semver": "5.5.0", |
130 | 138 | "semver-sort": "0.0.4", |
131 | 139 | "styled-components": "^5.3.1", |
|
163 | 171 | "@types/numeral": "^0.0.26", |
164 | 172 | "@types/query-string": "^5.1.0", |
165 | 173 | "@types/rc-slider": "^8.6.0", |
| 174 | + "@types/ethereumjs-util": "^5.2.0", |
166 | 175 | "@types/react": "^16.9.17", |
167 | 176 | "@types/react-copy-to-clipboard": "^4.2.0", |
168 | 177 | "@types/react-dom": "^16.9.4", |
|
172 | 181 | "@types/react-scroll": "1.5.3", |
173 | 182 | "@types/react-syntax-highlighter": "^10.2.1", |
174 | 183 | "@types/react-transition-group": "^4.2.0", |
| 184 | + "@types/rc-tooltip": "^3.7.0", |
175 | 185 | "@types/redux": "^3.6.0", |
176 | 186 | "@types/styled-components": "^5.1.15", |
177 | 187 | "@types/valid-url": "^1.0.2", |
178 | 188 | "@types/web3-provider-engine": "^14.0.0", |
179 | 189 | "@types/yargs": "^11.0.0", |
180 | 190 | "@typescript-eslint/parser": "^2.12.0", |
| 191 | + "assert": "^2.0.0", |
181 | 192 | "awesome-typescript-loader": "^5.2.1", |
182 | 193 | "babel-loader": "^8.0.6", |
183 | | - "cache-loader": "^4.1.0", |
| 194 | + "browserify-zlib": "^0.2.0", |
184 | 195 | "compare-versions": "^3.5.1", |
| 196 | + "crypto-browserify": "^3.12.0", |
185 | 197 | "css-loader": "0.23.x", |
186 | 198 | "eslint": "^6.7.2", |
187 | 199 | "eslint-plugin-react-hooks": "^2.3.0", |
188 | 200 | "extend": "^3.0.2", |
189 | 201 | "glob": "^7.1.4", |
| 202 | + "https-browserify": "^1.0.0", |
190 | 203 | "husky": "^3.0.5", |
191 | 204 | "jest": "^24.9.0", |
192 | 205 | "jest-transform-stub": "^2.0.0", |
193 | 206 | "json-stringify-pretty-compact": "^2.0.0", |
194 | | - "less-loader": "^4.1.0", |
195 | | - "node-sass": "^4.12.0", |
| 207 | + "less-loader": "^12.3.0", |
| 208 | + "os-browserify": "^0.3.0", |
| 209 | + "path-browserify": "^1.0.1", |
196 | 210 | "prettier": "^2.2.1", |
197 | 211 | "raw-loader": "^0.5.1", |
198 | 212 | "react-svg-loader": "^2.1.0", |
199 | 213 | "remark": "^10.0.1", |
200 | 214 | "remark-mdx": "^1.0.21", |
201 | 215 | "remark-slug": "^5.1.2", |
202 | 216 | "rollbar-sourcemap-webpack-plugin": "^2.4.0", |
| 217 | + "sass": "^1.70.0", |
203 | 218 | "shx": "^0.2.2", |
204 | 219 | "slugify": "^1.3.4", |
205 | 220 | "source-map-loader": "^0.2.4", |
| 221 | + "stream-browserify": "^3.0.0", |
| 222 | + "stream-http": "^3.2.0", |
206 | 223 | "style-loader": "0.23.x", |
207 | | - "terser-webpack-plugin": "^1.4.1", |
| 224 | + "terser-webpack-plugin": "^5.3.16", |
208 | 225 | "to-vfile": "^6.0.0", |
209 | 226 | "ts-jest": "^24.2.0", |
210 | 227 | "ts-loader": "^8.2.0", |
|
217 | 234 | "unist-util-select": "^2.0.2", |
218 | 235 | "unist-util-visit": "^2.0.0", |
219 | 236 | "unist-util-visit-parents": "^3.0.0", |
| 237 | + "url": "^0.11.0", |
220 | 238 | "vercel": "^27.0.1", |
221 | | - "webpack": "^4.39.2", |
222 | | - "webpack-cli": "3.3.7", |
223 | | - "webpack-dev-server": "^3.8.0", |
| 239 | + "vm-browserify": "^1.1.2", |
| 240 | + "webpack": "^5.95.0", |
| 241 | + "webpack-cli": "^5.1.4", |
| 242 | + "webpack-dev-server": "^4.15.1", |
224 | 243 | "yargs": "^10.0.3" |
225 | 244 | }, |
226 | 245 | "husky": { |
227 | 246 | "hooks": { |
228 | | - "pre-push": "yarn pre_push" |
| 247 | + "pre-push": "pnpm pre_push" |
229 | 248 | } |
230 | | - }, |
231 | | - "volta": { |
232 | | - "node": "14.21.2" |
233 | 249 | } |
234 | 250 | } |
0 commit comments