-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
241 lines (241 loc) · 8.49 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
{
"name": "lunch",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=18.12.0",
"npm": ">=5.0"
},
"browserslist": [
"defaults"
],
"dependencies": {
"@googlemaps/js-api-loader": "^1.15.1",
"@honeybadger-io/js": "^5.0.0",
"@popperjs/core": "^2.11.7",
"@reduxjs/toolkit": "^1.9.2",
"@sendgrid/helpers": "^7.7.0",
"@sendgrid/mail": "^7.7.0",
"@ubilabs/react-geosuggest": "^2.16.1",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.3",
"bootstrap": "^5.2.3",
"classnames": "^2.2.6",
"common-password": "^0.1.2",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"connect-session-sequelize": "^7.1.5",
"cookie-parser": "^1.4.6",
"cors": "^2.8.3",
"dayjs": "^1.11.7",
"dotenv": "^2.0.0",
"express": "^4.20.0",
"express-body-parser-error-handler": "^1.0.4",
"express-jwt": "^8.4.1",
"express-session": "^1.17.3",
"express-sslify": "^1.2.0",
"express-ws": "^5.0.2",
"fetch-mock": "^9.11.0",
"flip-toolkit": "^7.1.0",
"google-map-react": "^2.2.0",
"history": "^5.3.0",
"isomorphic-style-loader": "^5.3.2",
"jsonwebtoken": "^9.0.0",
"lodash.get": "^4.4.2",
"method-override": "^3.0.0",
"mocha-junit-reporter": "^2.2.0",
"morgan": "^1.10.0",
"node-fetch": "^2.7.0",
"normalizr": "^3.2.2",
"passport": "^0.6.0",
"passport-google-oauth20": "^2.0.0",
"passport-local": "^1.0.0",
"pg": "^8.9.0",
"preact": "^10.15.1",
"preact-render-to-string": "^6.1.0",
"preact-ssr-prepass": "^1.2.0",
"pretty-error": "^3.0.4",
"prop-types": "^15.8.1",
"react": "npm:@preact/compat@*",
"react-autosuggest": "^10.0.2",
"react-bootstrap": "^2.7.0",
"react-dom": "npm:@preact/compat@*",
"react-flip-toolkit": "^7.0.17",
"react-google-recaptcha": "^3.1.0",
"react-icons": "^4.7.1",
"react-redux": "^8.0.5",
"react-scroll": "^1.8.9",
"react-transition-group": "^4.4.5",
"redux": "^4.2.1",
"reflect-metadata": "^0.1.13",
"reselect": "^2.3.0",
"reserved-usernames": "^1.0.3",
"robust-websocket": "^0.2.1",
"rotating-file-stream": "^3.1.0",
"sequelize": "^6.29.0",
"sequelize-cli": "^6.6.0",
"sequelize-typescript": "^2.1.6",
"serialize-javascript": "^6.0.1",
"source-map-support": "^0.5.21",
"universal-router": "^9.2.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jedmao/redux-mock-store": "^3.0.5",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@redux-devtools/extension": "^3.2.5",
"@testing-library/dom": "^9.2.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.4",
"@types/compression": "^1.7.2",
"@types/connect-flash": "^0.0.37",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.17",
"@types/express-serve-static-core": "^4.17.35",
"@types/express-session": "^1.17.6",
"@types/express-sslify": "^1.2.2",
"@types/express-ws": "^3.0.1",
"@types/google-map-react": "^2.1.7",
"@types/google.analytics": "^0.0.42",
"@types/google.maps": "^3.52.1",
"@types/lodash.get": "^4.4.7",
"@types/method-override": "^0.0.32",
"@types/mocha": "^10.0.1",
"@types/morgan": "^1.9.4",
"@types/node": "^20.2.5",
"@types/node-fetch": "^2.6.11",
"@types/passport": "^1.0.11",
"@types/passport-google-oauth20": "^2.0.11",
"@types/passport-local": "^1.0.35",
"@types/proxyquire": "^1.3.28",
"@types/react-autosuggest": "^10.1.6",
"@types/react-dom": "^18.2.4",
"@types/react-geosuggest": "^2.7.13",
"@types/react-google-recaptcha": "^2.1.9",
"@types/react-scroll": "^1.8.7",
"@types/serialize-javascript": "^5.0.2",
"@types/sinon": "^10.0.15",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.7.17",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"autoprefixer": "^9.1.5",
"chai": "4.3.7",
"chai-jsdom": "^0.2.3",
"chokidar": "^3.5.3",
"cross-env": "^5.0.1",
"css-loader": "^6.7.3",
"cypress": "^12.5.1",
"eslint": "^8.34.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.3.0",
"glob": "^7.1.3",
"global-jsdom": "^9.0.1",
"husky": "^8.0.3",
"jsdom": "^22.0.0",
"lint-staged": "^13.2.2",
"mkdirp": "^2.1.3",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"nyc": "^15.1.0",
"open-cli": "^7.1.0",
"postcss": "^8.4.31",
"postcss-loader": "^7.0.2",
"prettier": "2.8.8",
"proxyquire": "^1.7.11",
"raw-loader": "^0.5.1",
"react-dev-utils": "^12.0.1",
"react-error-overlay": "^4.0.1",
"react-refresh": "^0.14.0",
"rimraf": "^2.6.2",
"sass": "^1.58.0",
"sass-loader": "^13.2.0",
"sequelize-mock": "^0.7.0",
"sinon": "^15.1.0",
"stylelint": "^15.10.1",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-order": "^6.0.3",
"supertest": "^6.3.3",
"svg-url-loader": "^8.0.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"url-loader": "^4.1.1",
"webpack": "^5.94.0",
"webpack-assets-manifest": "^5.1.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
"webpack-dev-middleware": "^6.1.2",
"webpack-hot-middleware": "^2.25.3",
"webpack-node-externals": "^3.0.0",
"workbox-webpack-plugin": "^6.5.4"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --no-ignore --fix",
"git add --force"
],
"*.{json,md,graphql}": [
"git add --force"
],
"*.{css,less,styl,scss,sass,sss}": [
"stylelint --fix",
"git add --force"
]
},
"scripts": {
"lint-js": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
"lint-css": "stylelint \"src/**/*.{css,less,styl,scss,sass,sss}\"",
"lint": "npm run lint-js && npm run lint-css",
"fix-js": "npm run lint-js -- --fix",
"fix-css": "npm run lint-css -- --fix",
"fix": "npm run fix-js && npm run fix-css",
"test-file": "mocha",
"test-file-ci": "npm run test-file --reporter mocha-junit-reporter",
"test": "npm run test-file \"./src/**/*.test.ts\"",
"test-ci": "npm run test-file-ci \"./src/**/*.test.ts\"",
"test-watch": "npm run test --watch --notify",
"test-cover": "nyc npm run test",
"coverage": "npm run test-cover && open-cli coverage/lcov-report/index.html",
"db:create": "./node_modules/.bin/sequelize db:create",
"db:seed:all": "./node_modules/.bin/sequelize db:seed:all",
"db:migrate": "./node_modules/.bin/sequelize db:migrate",
"db:migrate:undo": "./node_modules/.bin/sequelize db:migrate:undo",
"db:migrate:undo:all": "./node_modules/.bin/sequelize db:migrate:undo:all",
"db:drop": "./node_modules/.bin/sequelize db:drop",
"debug": "npm run start -- --inspect",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run-file": "cypress run --spec",
"cypress:run-integration": "cypress run --config baseUrl=http://local.lunch.pink:3000/ --env subdomain=http://integration-test.local.lunch.pink:3000/",
"integration-setup": "npm-run-all db:migrate:undo:all db:migrate db:seed:all build",
"integration": "cross-env NODE_ENV=test npm-run-all integration-setup -r -p serve cypress:run",
"integration-file": "cross-env NODE_ENV=test npm-run-all integration-setup -r -p serve \"cypress:run-file {1}\" --",
"integration-interactive": "cross-env NODE_ENV=test npm-run-all integration-setup -r -p serve cypress:open",
"integration-test-ci": "cross-env NODE_ENV=test npm-run-all integration-setup -r -p serve cypress:run-integration",
"clean": "ts-node tools/run clean",
"copy": "ts-node tools/run copy",
"bundle": "ts-node tools/run bundle",
"build": "ts-node tools/run build",
"build-stats": "npm run build -- --release --analyse",
"deploy": "ts-node tools/run deploy",
"render": "ts-node tools/run render",
"serve": "ts-node tools/run runServer || true",
"start": "ts-node tools/run start",
"prepare": "husky install"
},
"packageManager": "[email protected]"
}