forked from 0xProject/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
219 lines (219 loc) · 9.09 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
{
"name": "@0x/website",
"version": "0.0.89",
"engines": {
"node": ">=6.12"
},
"private": true,
"description": "Website and 0x portal dapp",
"scripts": {
"build": "yarn build:dev",
"build:prod": "node --max_old_space_size=16384 ./node_modules/webpack/bin/webpack.js --mode production",
"build:dev": "node --max-old-space-size=16384 ./node_modules/webpack/bin/webpack.js --mode development",
"clean": "shx rm -rf public/bundle* mdx/tools",
"typecheck": "tsc --pretty --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"eslint": "eslint 'ts/**/*.{ts,tsx}'",
"lint": "tslint --format stylish --project . 'ts/**/*.ts' 'ts/**/*.tsx'",
"fix": "yarn lint --fix",
"pre_push": "yarn typecheck && yarn lint:prettier && yarn lint && yarn test",
"update:tools": "aws s3 sync --delete s3://docs-markdown/ mdx/tools/ --profile $(npm config get awscli_profile)",
"dev": "npm run update:tools && node --max-old-space-size=16384 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode development --content-base public --https",
"deploy_dogfood": "npm run update:tools && yarn index_docs --environment 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",
"deploy_staging": "npm run update:tools && yarn index_docs --environment 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",
"deploy_live": "npm run update:tools && yarn index_docs --environment production && 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",
"index_docs": "TS_NODE_PROJECT=./tsconfig-indexing.json node --stack-size=16000 -r ts-node/register scripts/algolia_index.ts",
"prettier": "prettier --write \"ts/**/*.{ts,tsx,js,json,css,yml,md}\"",
"lint:prettier": "prettier --check \"ts/**/*.{ts,tsx,js,json,css,yml,md}\""
},
"resolutions": {
"@walletconnect/web3-provider": "1.3.4",
"node-hid": "2.1.1",
"scrypt": "github:barrysteyn/node-scrypt#fb60a8d"
},
"author": "Fabio Berger",
"license": "Apache-2.0",
"dependencies": {
"@0x/asset-buyer": "6.2.0-beta.3",
"@0x/contract-addresses": "^4.1.0",
"@0x/contract-wrappers": "^13.2.0",
"@0x/contracts-dev-utils": "^1.0.2",
"@0x/contracts-treasury": "^1.0.2",
"@0x/json-schemas": "^5.0.2",
"@0x/order-utils": "^10.0.1",
"@0x/subproviders": "^6.0.2",
"@0x/utils": "^5.1.1",
"@0x/web3-wrapper": "^7.0.2",
"@reach/dialog": "^0.11.2",
"@reach/tabs": "^0.1.6",
"@types/d3": "^5.7.2",
"@web3-react/abstract-connector": "^6.0.7",
"@web3-react/core": "^6.1.9",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/network-connector": "^6.1.3",
"@web3-react/types": "^6.0.7",
"@web3-react/walletconnect-connector": "^6.2.0",
"@web3-react/walletlink-connector": "^6.2.0",
"accounting": "^0.4.1",
"algoliasearch": "^3.33.0",
"basscss": "^8.0.3",
"blockies": "^0.0.2",
"bowser": "^1.9.4",
"change-case": "^3.0.2",
"chart.js": "^2.8.0",
"color": "^3.1.2",
"d3": "^5.16.0",
"d3-array": "^2.4.0",
"date-fns": "^2.8.1",
"decimal.js": "^10.2.0",
"deep-equal": "^1.0.1",
"ethereum-types": "^3.0.0",
"ethereumjs-util": "^5.1.1",
"ethers": "^5.0.24",
"find-versions": "^2.0.0",
"flickity": "^2.2.2",
"fuse.js": "^3.4.6",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"is-mobile": "^0.2.2",
"less": "^2.7.2",
"lodash": "^4.17.11",
"lottie-web": "^5.6.2",
"marked": "^2.0.0",
"material-ui": "^0.20.0",
"mersenne-twister": "^1.1.0",
"moment": "2.21.0",
"moment-precise-range-plugin": "^1.3.0",
"moment-timezone": "^0.5.33",
"numeral": "^2.0.6",
"polished": "^1.9.2",
"query-string": "^6.0.0",
"rc-slider": "^8.6.3",
"react": "^16.12.0",
"react-autosuggest": "^9.4.3",
"react-chartjs-2": "^2.7.6",
"react-copy-to-clipboard": "^5.0.0",
"react-dom": "^16.12.0",
"react-flickity-component": "^3.6.1",
"react-headroom": "2.2.2",
"react-helmet": "^5.2.1",
"react-highlight": "0xproject/react-highlight#react-peer-deps",
"react-instantsearch-dom": "^5.7.0",
"react-markdown": "^4.0.6",
"react-popper": "^1.0.0-beta.6",
"react-query": "^3.7.1",
"react-redux": "^7.1.3",
"react-responsive": "^6.0.1",
"react-router-dom": "^5.1.2",
"react-scroll": "https://github.com/0xProject/react-scroll.git#d2afc2729dc09980e4113d8c38a1b012ba180d81",
"react-scrollable-anchor": "^0.6.1",
"react-spring": "^8.0.27",
"react-syntax-highlighter": "^11.0.2",
"react-tabs": "^3.0.0",
"react-tooltip": "^3.2.7",
"react-transition-group": "^4.2.1",
"react-use": "^15.3.4",
"redux": "^4.0.4",
"redux-devtools-extension": "^2.13.2",
"rollbar": "^2.4.7",
"sass-loader": "^7.1.0",
"semver": "5.5.0",
"semver-sort": "0.0.4",
"styled-components": "^5.0.0",
"thenby": "^1.2.3",
"truffle-contract": "2.0.1",
"valid-url": "^1.0.9",
"web3-provider-engine": "14.0.6",
"xml-js": "^1.6.4"
},
"devDependencies": {
"@0x/tslint-config": "^4.1.3",
"@0x/typescript-typings": "^5.0.1",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@mdx-js/loader": "^1.3.1",
"@mdx-js/react": "^1.3.1",
"@types/accounting": "^0.4.1",
"@types/algoliasearch": "^3.30.12",
"@types/blockies": "^0.0.0",
"@types/color": "^3.0.0",
"@types/d3-array": "^2.0.0",
"@types/deep-equal": "^1.0.0",
"@types/find-versions": "^2.0.0",
"@types/is-mobile": "0.3.0",
"@types/jest": "^24.0.25",
"@types/lodash": "4.14.104",
"@types/marked": "^1.2.2",
"@types/material-ui": "^0.20.0",
"@types/mersenne-twister": "^1.1.2",
"@types/node": "*",
"@types/numeral": "^0.0.26",
"@types/query-string": "^5.1.0",
"@types/rc-slider": "^8.6.0",
"@types/react": "^16.9.17",
"@types/react-copy-to-clipboard": "^4.2.0",
"@types/react-dom": "^16.9.4",
"@types/react-helmet": "^5.0.6",
"@types/react-redux": "^7.1.5",
"@types/react-router-dom": "^5.1.3",
"@types/react-scroll": "1.5.3",
"@types/react-syntax-highlighter": "^10.2.1",
"@types/react-transition-group": "^4.2.0",
"@types/redux": "^3.6.0",
"@types/styled-components": "4.1.1",
"@types/valid-url": "^1.0.2",
"@types/web3-provider-engine": "^14.0.0",
"@types/yargs": "^11.0.0",
"@typescript-eslint/parser": "^2.12.0",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"cache-loader": "^4.1.0",
"compare-versions": "^3.5.1",
"css-loader": "0.23.x",
"eslint": "^6.7.2",
"eslint-plugin-react-hooks": "^2.3.0",
"extend": "^3.0.2",
"glob": "^7.1.4",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-transform-stub": "^2.0.0",
"json-stringify-pretty-compact": "^2.0.0",
"less-loader": "^4.1.0",
"node-sass": "^4.12.0",
"prettier": "^2.2.1",
"raw-loader": "^0.5.1",
"react-svg-loader": "^2.1.0",
"remark": "^10.0.1",
"remark-mdx": "^1.0.21",
"remark-slug": "^5.1.2",
"rollbar-sourcemap-webpack-plugin": "^2.4.0",
"shx": "^0.2.2",
"slugify": "^1.3.4",
"source-map-loader": "^0.2.4",
"style-loader": "0.23.x",
"terser-webpack-plugin": "^1.4.1",
"to-vfile": "^6.0.0",
"ts-jest": "^24.2.0",
"ts-node": "^8.3.0",
"tslint": "5.11.0",
"tslint-config-0xproject": "^0.0.2",
"typescript": "^3.7.4",
"unist-util-find-after": "^2.0.4",
"unist-util-modify-children": "^1.1.4",
"unist-util-select": "^2.0.2",
"unist-util-visit": "^2.0.0",
"unist-util-visit-parents": "^3.0.0",
"webpack": "^4.39.2",
"webpack-cli": "3.3.7",
"webpack-dev-server": "^3.8.0",
"yargs": "^10.0.3"
},
"husky": {
"hooks": {
"pre-push": "yarn pre_push"
}
}
}