forked from hicommonwealth/commonwealth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
263 lines (263 loc) · 11.1 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
"private": true,
"scripts": {
"heroku-postbuild": "NODE_OPTIONS=--max_old_space_size=4096 webpack --config webpack/webpack.config.prod.js --progress && tsc --project tsconfig.consumer.json",
"build": "webpack --config webpack/webpack.config.prod.js --progress",
"build-scripts": "tsc --project tsconfig.consumer.json",
"build-contracts": "cd shared/eth && npx hardhat compile",
"build:css": "NODE_ENV=production tailwindcss build client/styles/style.css -o client/styles/lib/style.css",
"bundle-report": "webpack-bundle-analyzer --port 4200 build/stats.json",
"stylelint": "stylelint client/styles/*",
"lint": "./scripts/lint-new-work.sh",
"lint-all": "eslint client/\\**/*.ts server/\\**/*.ts",
"listen": "RUN_AS_LISTENER=true ts-node --project tsconfig.node.json server.ts",
"load-tokens": "ts-node --project tsconfig.node.json server/scripts/loadDatabaseFromTokenLists.ts",
"emit-events": "ts-node --project tsconfig.node.json server/scripts/emitChainEvents.ts",
"test-client": "webpack-dev-server --config webpack/webpack.config.test.js",
"test-events": "nyc ts-mocha --project test/tsconfig.node.json ./test/unit/events/*.spec.ts",
"test-ce-node": "nyc ts-mocha --project test/tsconfig.node.json ./test/integration/chain-events-nodes.spec.ts --delay",
"integration-test": "nyc ts-mocha --project test/tsconfig.node.json ./test/integration/**/*.spec.ts",
"test": "nyc ts-mocha --project test/tsconfig.node.json ./test/**/*.spec.ts",
"test-select": "NODE_ENV=test nyc ts-mocha --project test/tsconfig.node.json",
"test-api": "NODE_ENV=test nyc ts-mocha --project test/tsconfig.node.json ./test/unit/api/*.spec.ts",
"test-suite": "NODE_ENV=test nyc ts-mocha --project test/tsconfig.node.json ./test/**/*.spec.ts",
"start": "NODE_OPTIONS=--max_old_space_size=4096 nodemon --delay 0.25 --watch 'server/**/*.ts' --ignore 'server/**/*.spec.ts' --exec 'ts-node --project tsconfig.node.json' server.ts",
"start-consumer": "ts-node --project server/scripts/tsconfig.consumer.json server/scripts/chainEventsConsumer.ts",
"start-dbNode": "WORKER_NUMBER=6 NUM_WORKERS=29 HANDLE_IDENTITY=publish ts-node --project server/scripts/tsconfig.consumer.json server/scripts/dbNode.ts",
"start-prerender": "ts-node --project tsconfig.node.json server/scripts/runPrerenderService.ts",
"send-notification-digest-emails": "SEND_EMAILS=true ts-node --project tsconfig.node.json server.ts",
"migrate-events": "ENTITY_MIGRATION=all ts-node --project tsconfig.node.json server/scripts/migrateChainEntities.ts",
"migrate-event": "ts-node --project tsconfig.node.json server/scripts/migrateChainEntities.ts",
"migrate-server": "heroku run npx sequelize db:migrate --debug",
"migrate-identities": "NO_CLIENT=true NO_PRERENDER=true IDENTITY_MIGRATION=true ts-node --project tsconfig.node.json server.ts",
"migrate-flags": "NO_CLIENT=true NO_PRERENDER=true FLAG_MIGRATION=true ts-node --project tsconfig.node.json server.ts",
"reset-server": "ts-node --project tsconfig.node.json server/scripts/resetServer.ts",
"start-ci": "FETCH_INTERVAL_MS=500 ts-node --project tsconfig.node.json server.ts",
"profile": "NODE_OPTIONS=--max_old_space_size=4096 webpack --config webpack/webpack.config.dev.js --json --profile > webpack-stats.json",
"psql": "psql -h localhost commonwealth -U commonwealth",
"dump-db": "pg_dump $(heroku config:get DATABASE_URL -a commonwealthapp) --verbose --exclude-table-data=\"public.\\\"Sessions\\\"\" --exclude-table-data=\"public.\\\"DiscussionDrafts\\\"\" --exclude-table-data=\"public.\\\"LoginTokens\\\"\" --exclude-table-data=\"public.\\\"Notifications\\\"\" --exclude-table-data=\"public.\\\"SocialAccounts\\\"\" --exclude-table-data=\"public.\\\"EdgewareLockdropEverythings\\\"\" --exclude-table-data=\"public.\\\"EdgewareLockdropBalances\\\"\" --exclude-table-data=\"public.\\\"EdgewareLockdropEvents\\\"\" --exclude-table-data=\"public.\\\"ChainEvents\\\"\" --exclude-table-data=\"public.\\\"Webhooks\\\"\" --no-privileges --no-owner -f latest.dump",
"reset-db": "sh -c \"npx sequelize db:drop && npx sequelize db:create\"",
"load-db": "psql -d commonwealth -U commonwealth -W -f latest.dump"
},
"engines": {
"node": "14.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hicommonwealth/commonwealth.git"
},
"keywords": [],
"dependencies": {
"@apollo/client": "^3.3.18",
"@audius/hedgehog": "^1.0.5",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.4.0",
"@commonwealth/ce-rabbitmq-plugin": "^0.0.1",
"@commonwealth/chain-events": "^0.8.0",
"@cosmjs/amino": "^0.25.5",
"@cosmjs/launchpad": "^0.25.5",
"@cosmjs/proto-signing": "^0.25.5",
"@cosmjs/stargate": "^0.25.5",
"@edgeware/node-types": "3.3.3",
"@ethersproject/abi": "^5.0.1",
"@ethersproject/address": "^5.0.1",
"@ethersproject/bytes": "^5.0.5",
"@ethersproject/constants": "^5.0.1",
"@ethersproject/contracts": "^5.0.1",
"@ethersproject/hash": "^5.0.6",
"@ethersproject/providers": "^5.0.12",
"@ethersproject/strings": "^5.0.5",
"@ethersproject/units": "^5.0.1",
"@ethersproject/wallet": "^5.0.1",
"@glidejs/glide": "^3.4.1",
"@keplr-wallet/types": "^0.9.0-alpha.1",
"@magic-ext/polkadot": "^0.1.2",
"@magic-sdk/admin": "^1.3.0",
"@openzeppelin/contracts": "^2.4.0",
"@polkadot/api": "4.16.2",
"@polkadot/api-derive": "4.16.2",
"@polkadot/extension-dapp": "0.37.3-18",
"@polkadot/types": "4.16.2",
"@polkadot/util": "6.11.1",
"@polkadot/util-crypto": "6.11.1",
"@popperjs/core": "^2.0.6",
"@sendgrid/mail": "^6.5.0",
"@snapshot-labs/snapshot.js": "^0.1.9",
"@terra-money/terra.js": "^2.0.4",
"@typechain/ethers-v5": "^6.0.0",
"@types/bluebird": "^3.5.36",
"@types/bn.js": "^4.11.6",
"@types/chai": "^4.2.11",
"@types/express": "^4.17.1",
"@types/express-session": "^1.17.0",
"@types/filesystem": "^0.0.29",
"@types/glidejs__glide": "^3.4.0",
"@types/jquery": "^3.5.4",
"@types/jsonwebtoken": "^8.3.9",
"@types/lodash": "^4.14.123",
"@types/marked": "^2.0.3",
"@types/mithril": "^2.0.7",
"@types/mixpanel-browser": "^2.23.1",
"@types/mocha": "^7.0.2",
"@types/moment": "^2.13.0",
"@types/passport": "^1.0.5",
"@types/passport-jwt": "^3.0.3",
"@types/underscore": "^1.9.4",
"@types/websocket": "^1.0.0",
"@types/ws": "^7.2.4",
"@walletconnect/web3-provider": "^1.6.0",
"assert": "^2.0.0",
"async-rwlock": "^1.1.1",
"autoprefixer": "^10.2.5",
"aws-sdk": "^2.482.0",
"axios": "^0.21.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.4",
"bcrypt-nodejs": "^0.0.3",
"bech32": "^2.0.0",
"bip39": "^3.0.2",
"bn.js": "^5.1.3",
"bs58": "^4.0.1",
"chart.js": "^2.8.0",
"cheerio": "1.0.0-rc.3",
"clipboard-polyfill": "^2.8.6",
"compression": "^1.7.4",
"connect-session-sequelize": "^7.1.1",
"construct-ui": "^0.3.0",
"cookie-parser": "^1.4.4",
"copy-webpack-plugin": "^4.6.0",
"crypto-js": "^3.1.9-1",
"css-loader": "^2.1.0",
"dompurify": "^2.2.6",
"dotenv": "^8.2.0",
"dragula": "^3.7.2",
"dropzone": "^5.5.1",
"eslint": "^7.2.0",
"ethereum-block-by-date": "^1.2.2",
"ethereumjs-util": "^7.1.0",
"ethereumjs-wallet": "^0.6.3",
"ethers": "^5.4.1",
"express": "^4.16.4",
"express-async-errors": "^3.1.1",
"express-http-to-https": "^1.1.4",
"express-session": "^1.17.0",
"faker": "^4.1.0",
"file-loader": "^2.0.0",
"graphql": "^15.5.0",
"graphql-tag": "^2.12.4",
"highlight-words-core": "^1.2.2",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.0.0-beta.2",
"jdenticon": "^2.1.1",
"jquery": "^3.3.1",
"jsdom": "^15.0.0",
"jsdom-global": "^3.0.2",
"jsonwebtoken": "^8.5.1",
"lity": "^2.3.1",
"lodash": "^4.17.11",
"magic-sdk": "^4.1.0",
"marked": "^2.0.5",
"mini-css-extract-plugin": "^0.4.4",
"mithril": "^2.0.4",
"mithril-datepicker": "^0.9.3",
"mithril-infinite": "^1.2.9",
"mithril-timepicker": "^0.9.2",
"mixpanel": "^0.10.2",
"mixpanel-browser": "^2.27.1",
"moment": "^2.23.0",
"moment-locales-webpack-plugin": "^1.1.0",
"morgan": "^1.9.1",
"near-api-js": "^0.42.0",
"node-sass": "^5.0.0",
"node-statsd": "^0.1.1",
"nodemon": "^1.18.10",
"numeral": "^2.0.6",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"parchment": "^1.1.4",
"passport": "^0.4.0",
"passport-github": "^1.1.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"passport-magic": "^1.0.0",
"pg": "^8.0.3",
"postcss": "^8.2.10",
"postcss-import": "^14.0.1",
"postcss-loader": "4.2.0",
"postcss-preset-env": "^6.7.0",
"prerender": "^5.6.0",
"prerender-node": "^3.2.5",
"quill-2.0-dev": "^2.0.0-dev.3",
"quill-image-drop-and-paste": "^1.0.4",
"quill-image-uploader": "^1.0.2",
"quill-mention": "^2.2.7",
"rascal": "^13.1.0",
"rollbar": "^2.6.1",
"rxjs": "^6.6.3",
"sass-loader": "^10.1.1",
"secp256k1": "^4.0.2",
"sequelize": "^6.6.5",
"sequelize-cli": "^6.2.0",
"serve-favicon": "^2.5.0",
"simplepicker": "^2.0.4",
"sleep-promise": "^8.0.1",
"smart-truncate": "^1.0.1",
"source-map": "^0.7.3",
"style-loader": "^0.23.1",
"superagent": "^5.2.2",
"tailwindcss": "1.9.6",
"throttled-queue": "^1.0.7",
"ts-loader": "^6.2.0",
"ts-mocha": "^6.0.0",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.8.0",
"tslint": "^5.13.0",
"tweetnacl": "^1.0.1",
"typechain": "^4.0.1",
"typescript": "^4.3.4",
"typescript-logging": "^0.6.4",
"underscore": "^1.13.1",
"velocity": "^0.7.2",
"web3": "^1.4.0",
"webpack": "^4.36.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^4.1.4",
"webpack-node-externals": "^1.7.2",
"ws": "^7.2.1"
},
"devDependencies": {
"@aave/aave-token": "^1.0.4",
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@types/bs58": "^4.0.1",
"@types/pg": "^8.6.1",
"@types/pg-format": "^1.0.2",
"@types/rascal": "^10.0.4",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint-config-airbnb": "18.2.1",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"ganache-cli": "^6.9.1",
"hardhat": "^2.3.0",
"hardhat-typechain": "^0.3.5",
"mocha": "^6.2.2",
"nyc": "^15.1.0",
"source-map-support": "^0.5.13",
"stylelint": "^12.0.0",
"ts-generator": "^0.1.1",
"webpack-dev-server": "^3.1.14"
}
}