forked from withspectrum/spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
259 lines (259 loc) · 11 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
{
"name": "Spectrum",
"version": "2.1.6",
"license": "BSD-3-Clause",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^8.2.2",
"babel-plugin-import-inspector": "^2.0.0",
"babel-plugin-inline-import-graphql-ast": "^2.0.4",
"babel-plugin-styled-components": "^1.1.7",
"babel-plugin-syntax-async-generators": "^6.13.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-async-generator-functions": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.5.2",
"backpack-core": "^0.4.1",
"cheerio": "^1.0.0-rc.2",
"cross-env": "^5.0.5",
"cypress": "^2.1.0",
"danger": "^3.1.8",
"danger-plugin-jest": "^1.1.0",
"danger-plugin-labels": "^1.1.0",
"danger-plugin-no-console": "1.1.2",
"danger-plugin-yarn": "^1.2.1",
"eslint": "^4.1.1",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jest": "^21.6.1",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "0.66",
"is-html": "^1.1.0",
"lint-staged": "^3.3.0",
"micromatch": "^3.0.4",
"prettier": "^1.0.0",
"puppeteer": "^0.12.0",
"raw-loader": "^0.5.1",
"react-scripts": "^1.0.0",
"rimraf": "^2.6.1",
"sw-precache-webpack-plugin": "^0.11.4",
"uuid": "^3.0.1",
"webpack-bundle-analyzer": "^2.9.1",
"write-file-webpack-plugin": "^4.1.0"
},
"dependencies": {
"abab": "^1.0.4",
"algoliasearch": "^3.24.7",
"apollo-cache-inmemory": "^1.1.5",
"apollo-client": "2.x",
"apollo-engine": "1.x",
"apollo-link": "^1.0.7",
"apollo-link-http": "^1.3.2",
"apollo-link-retry": "^2.1.2",
"apollo-link-ws": "^1.0.4",
"apollo-upload-client": "^8.0.0",
"apollo-upload-server": "^5.0.0",
"apollo-utilities": "^1.0.4",
"aws-sdk": "2.200.0",
"axios": "^0.17.1",
"bad-words": "^1.6.1",
"body-parser": "^1.17.1",
"bull": "3.3.10",
"casual": "^1.5.19",
"common-tags": "^1.7.2",
"cookie-parser": "^1.4.3",
"cookie-session": "^2.0.0-beta.3",
"cors": "^2.8.3",
"css.escape": "^1.5.1",
"danger-plugin-flow": "^1.3.1",
"danger-plugin-no-test-shortcuts": "^2.0.0",
"dataloader": "^1.3.0",
"debounce": "^1.1.0",
"debug": "^2.6.8",
"draft-js": "npm:draft-js-fork-mxstbr",
"draft-js-code-editor-plugin": "0.2.1",
"draft-js-drag-n-drop-plugin": "2.0.0-rc9",
"draft-js-embed-plugin": "^1.2.0",
"draft-js-focus-plugin": "2.0.0-rc2",
"draft-js-image-plugin": "2.0.0-rc8",
"draft-js-import-markdown": "^1.2.0",
"draft-js-linkify-plugin": "^2.0.0-beta1",
"draft-js-markdown-plugin": "1.3.0",
"draft-js-plugins-editor": "^2.0.4",
"draft-js-prism-plugin": "0.1.3",
"draftjs-to-markdown": "^0.4.2",
"emoji-regex": "^6.1.1",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-standard": "^3.0.1",
"expo-server-sdk": "^2.3.3",
"express": "^4.15.2",
"express-session": "^1.15.2",
"faker": "^4.1.0",
"find-with-regex": "^1.0.2",
"flow-typed": "^2.1.5",
"graphql": "0.11.x",
"graphql-cost-analysis": "^0.1.1",
"graphql-date": "^1.0.3",
"graphql-depth-limit": "^1.1.0",
"graphql-log": "0.1.2",
"graphql-server-express": "1.3.0",
"graphql-subscriptions": "0.5.6",
"graphql-tag": "^2.6.1",
"graphql-tools": "1.2.3",
"highlight.js": "^9.10.0",
"history": "^4.6.1",
"hoist-non-react-statics": "^2.3.1",
"imgix-core-js": "^1.0.6",
"ioredis": "3.1.4",
"isomorphic-fetch": "^2.2.1",
"jest": "22.4.3",
"json-stringify-pretty-compact": "^1.0.4",
"jsonwebtoken": "^8.0.1",
"keygrip": "^1.0.2",
"linkify-it": "^2.0.3",
"lodash": "^4.17.4",
"lodash.intersection": "^4.4.0",
"moment": "^2.18.1",
"node-env-file": "^0.1.8",
"now-env": "^3.0.1",
"offline-plugin": "^4.8.4",
"optics-agent": "^1.1.2",
"passport": "^0.3.2",
"passport-facebook": "^2.1.1",
"passport-github2": "^0.1.10",
"passport-google-oauth2": "^0.1.6",
"passport-twitter": "^1.0.4",
"postmark": "^1.4.1",
"pre-commit": "^1.2.2",
"prismjs": "^1.8.1",
"query-string": "^5.0.0",
"raven": "^2.0.2",
"raven-js": "^3.18.1",
"react": "16.2.0",
"react-apollo": "2.x",
"react-app-rewire-styled-components": "^3.0.0",
"react-app-rewired": "^1.0.5",
"react-clipboard.js": "^1.1.3",
"react-dom": "16.2.0",
"react-error-boundary": "^1.2.1",
"react-flip-move": "^2.10.1",
"react-helmet-async": "^0.0.4",
"react-infinite-scroller-with-scroll-element": "2.0.2",
"react-loadable": "5.3.1",
"react-modal": "3.x",
"react-redux": "^5.0.2",
"react-router": "^4.0.0-beta.7",
"react-router-dom": "^4.0.0-beta.7",
"react-stripe-checkout": "^2.2.5",
"react-stripe-elements": "^1.4.1",
"react-textarea-autosize": "^4.0.5",
"react-transition-group": "^2.2.0",
"react-trend": "^1.2.4",
"recompose": "0.26.x",
"redraft": "0.8.0",
"redux": "^3.6.0",
"redux-thunk": "^2.2.0",
"rethinkdb-changefeed-reconnect": "^0.3.2",
"rethinkdb-inspector": "^0.3.3",
"rethinkdb-migrate": "^1.1.0",
"rethinkdbdash": "^2.3.29",
"serialize-javascript": "^1.4.0",
"session-rethinkdb": "^2.0.0",
"shortid": "^2.2.8",
"slate": "^0.20.1",
"slate-markdown": "0.1.0",
"slugg": "^1.1.0",
"stopword": "^0.1.9",
"string-replace-to-array": "^1.0.3",
"stripe": "^4.15.0",
"striptags": "2.x",
"styled-components": "3.1.x",
"subscriptions-transport-ws": "0.9.x",
"then-queue": "^1.3.0",
"toobusy-js": "^0.5.1",
"validator": "^9.0.0",
"web-push": "^3.2.2"
},
"resolutions": {
"immutable": "3.7.4",
"draft-js": "npm:draft-js-fork-mxstbr",
"jest-environment-node": "22.4.3",
"jest": "22.4.3",
"fbjs": "0.8.16"
},
"scripts": {
"start": "cross-env NODE_ENV=production node build-hyperion/main.js",
"start:athena": "cross-env NODE_ENV=production node build-athena/main.js",
"start:hermes": "cross-env NODE_ENV=production node build-hermes/main.js",
"start:chronos": "cross-env NODE_ENV=production node build-chronos/main.js",
"start:mercury": "cross-env NODE_ENV=production node build-mercury/main.js",
"start:vulcan": "cross-env NODE_ENV=production node build-vulcan/main.js",
"start:pluto": "cross-env NODE_ENV=production node build-pluto/main.js",
"start:api": "cross-env NODE_ENV=production node build-api/main.js",
"dev:web": "cross-env NODE_PATH=./ react-app-rewired start",
"dev:api": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,api*,shared:middlewares*,-api:resolvers cross-env DIR=api backpack",
"dev:athena": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,athena*,shared:middlewares*,-athena:resolvers cross-env DIR=athena backpack",
"dev:hermes": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,hermes*,shared:middlewares*,-hermes:resolvers cross-env DIR=hermes backpack",
"dev:chronos": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,chronos*,shared:middlewares*,-chronos:resolvers cross-env DIR=chronos backpack",
"dev:mercury": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,mercury*,shared:middlewares*,-mercury:resolvers cross-env DIR=mercury backpack",
"dev:vulcan": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,vulcan*,shared:middlewares*,-vulcan:resolvers cross-env DIR=vulcan backpack",
"dev:hyperion": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,hyperion*,shared:middlewares*,-hyperion:resolvers cross-env DIR=hyperion backpack",
"dev:pluto": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,pluto*,shared:middlewares*,-pluto:resolvers cross-env DIR=pluto backpack",
"dev:mobile": "(cd mobile && yarn run dev)",
"open:ios": "(cd mobile && yarn run open:ios)",
"open:android": "(cd mobile && yarn run open:android)",
"build": "npm run build:web && npm run build:hyperion",
"prebuild:api": "rimraf build-api",
"build:api": "cross-env NODE_PATH=./ cross-env DIR=api backpack build",
"postbuild:api": "cp api/package.json build-api/package.json && cp now.json build-api/now.json",
"prebuild:athena": "rimraf build-athena",
"build:athena": "cross-env NODE_PATH=./ cross-env DIR=athena backpack build",
"postbuild:athena": "cp athena/package.json build-athena/package.json && cp now.json build-athena/now.json",
"prebuild:hermes": "rimraf build-hermes",
"build:hermes": "cross-env NODE_PATH=./ cross-env DIR=hermes backpack build",
"postbuild:hermes": "cp hermes/package.json build-hermes/package.json && cp now.json build-hermes/now.json",
"prebuild:chronos": "rimraf build-chronos",
"build:chronos": "cross-env NODE_PATH=./ cross-env DIR=chronos backpack build",
"postbuild:chronos": "cp chronos/package.json build-chronos/package.json && cp now.json build-chronos/now.json",
"prebuild:mercury": "rimraf build-mercury",
"build:mercury": "cross-env NODE_PATH=./ cross-env DIR=mercury backpack build",
"postbuild:mercury": "cp mercury/package.json build-mercury/package.json && cp now.json build-mercury/now.json",
"prebuild:vulcan": "rimraf build-vulcan",
"build:vulcan": "cross-env NODE_PATH=./ cross-env DIR=vulcan backpack build",
"postbuild:vulcan": "cp vulcan/package.json build-vulcan/package.json && cp now.json build-vulcan/now.json",
"prebuild:pluto": "rimraf build-pluto",
"build:pluto": "cross-env NODE_PATH=./ cross-env DIR=pluto backpack build",
"postbuild:pluto": "cp pluto/package.json build-pluto/package.json && cp now.json build-pluto/now.json",
"prebuild:hyperion": "rimraf build-hyperion",
"build:hyperion": "cross-env NODE_PATH=./ cross-env DIR=hyperion backpack build",
"postbuild:hyperion": "cp now.json build-hyperion/now.json",
"build:web": "cross-env NODE_PATH=./ react-app-rewired build",
"jest": "cross-env NODE_PATH=./ jest",
"test": "npm run jest -- --runInBand --watch",
"test:ci": "npm run jest -- --forceExit --outputFile test-results.json --json",
"test:e2e": "cypress run",
"cypress:open": "cypress open",
"lint": "eslint .",
"flow": "flow",
"db:migrate": "npm run rethinkdb:migrate -- up",
"db:drop": "npm run rethinkdb:migrate -- down",
"db:seed": "cross-env NODE_PATH=./ node api/migrations/seed/index.js",
"db:reset": "yarn run db:drop && yarn run db:migrate && yarn run db:seed",
"rethinkdb:migrate": "rethinkdb-migrate -f ./api/migrations/config.js",
"eject": "react-scripts eject",
"lint:staged": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote --trailing-comma es5",
"eslint --fix",
"git add"
]
},
"pre-commit": "lint:staged"
}