-
Notifications
You must be signed in to change notification settings - Fork 123
/
package.json
205 lines (205 loc) · 8.57 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
{
"name": "cubecobra",
"version": "1.0.30",
"description": "",
"private": true,
"main": "app.js",
"engines": {
"node": ">=20.0.0 <21.0.0"
},
"scripts": {
"build": "npm run nearley && tsc -b && npm run webpack && npx tailwindcss -i ./src/css/stylesheet.css -o ./public/css/stylesheet.css",
"lint": "npm run prettier-base --check && npm run eslint -- --max-warnings 0",
"bash": "bash",
"beautify": "npm run prettier",
"list-files": "bash -c 'shopt -s nullglob\n echo {__tests__,fixtures,jobs,models,one_shot_scripts,public/js,routes,serverjs,src}/{**/*,*}.{js,jsx,ts,tsx} {app,force_update,server}.js webpack.*.mjs eslint.config.mjs babel.config.mjs'",
"prettier-base": "prettier $(npm run --silent list-files)",
"prettier": "npm run prettier-base --write",
"prettier-master": "prettier --write $(git diff master --name-only | grep -E '.m?[jt]sx?$')",
"prettier-head": "prettier --write $(git diff HEAD --name-only | grep -E '.m?[jt]sx?$')",
"eslint": "eslint --quiet $(npm run --silent list-files)",
"nodemon": "nodemon --max-old-space-size=8192 --ignore src --ignore public --ignore private --ignore temp --ignore dist/pages --ignore __tests__",
"webpack": "NODE_OPTIONS=--max_old_space-size=18192 webpack --mode production --config webpack.prod.mjs",
"webpack-dev-server": "npx webpack serve --config webpack.dev.mjs",
"test": "npm run test-loud --silent",
"test:watch": "npm run webpack --watch & npm run test-loud --watch --verbose false",
"nearley": "sh nearley/helper.sh",
"ci-build": "npm run nearley && tsc -b && NODE_OPTIONS=--max_old_space_size=16384 node_modules/.bin/webpack --mode production --config webpack.prod.mjs",
"devstart": "npm run nearley --watch & npm run nodemon & npm run webpack-dev-server & npm run tailwind:watch & npx tailwindcss -i ./src/css/stylesheet.css -o ./public/css/stylesheet.css --watch=always",
"setup": "npm run nearley && npm run webpack --progress && node --max-old-space-size=8192 force_update.js",
"cards": "node --max-old-space-size=8192 force_update.js",
"download-model": "node --max-old-space-size=8192 jobs/download_model.js",
"start": "node server.js",
"setup-prod": "npm install --immutable && npm run cards && npm run download-model",
"update-draft-history": "node --max-old-space-size=8192 jobs/update_draft_history.js",
"update-cube-history": "node --max-old-space-size=8192 jobs/update_cube_history.js",
"update-metadata-dict": "node --max-old-space-size=8192 jobs/update_metadata_dict.js",
"update-cards": "node --max-old-space-size=8192 jobs/update_cards.js",
"update-all": "npm run update-draft-history && npm run update-cube-history && npm run update-metadata-dict && npm run update-cards",
"update-hashes": "node --max-old-space-size=8192 jobs/repair_hashes.js",
"upload-exports": "aws s3 sync temp/export s3://cubecobra",
"exports": "node --max-old-space-size=8192 jobs/export_cubes.js && node --max-old-space-size=8192 jobs/export_decks.js && node --max-old-space-size=8192 jobs/export_simple_card_dict.js && npm run upload-exports",
"rotate-queue": "node --max-old-space-size=8192 jobs/rotate_featured.js",
"sync-podcasts": "node --max-old-space-size=8192 jobs/update_podcasts.js",
"start:localstack": "./scripts/local/start_localstack.sh",
"setup:local": "npm start:localstack && npm setup:local:env && npm setup:local:localstack && npm setup:local:files && npm setup:local:db && npm update-cards",
"setup:local:localstack": "./scripts/local/init_localstack.sh",
"setup:local:env": "cp .env_EXAMPLE .env",
"setup:local:files": "node one_shot_scripts/create_local_files.js",
"setup:local:db": "node --max-old-space-size=8192 one_shot_scripts/createTables.js",
"start:dev": "npm start:localstack && npm devstart",
"publish": "npm run build && node publish.js"
},
"author": "Gwen Dekker",
"license": "ISC",
"sideEffects": false,
"browserslist": "> 0.5%, Firefox ESR, not dead, not IE > 0, not IE_Mob > 0, not safari < 7, not kaios > 0",
"dependencies": {
"@aws-sdk/client-cloudwatch-logs": "^3.433.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@headlessui/react": "^2.1.8",
"@primer/octicons-react": "^19.11.0",
"@tailwindcss/line-clamp": "^0.4.4",
"@tensorflow/tfjs": "^4.22.0",
"@tensorflow/tfjs-node": "^4.22.0",
"archiver": "^7.0.1",
"assert": "^2.0.0",
"aws-sdk": "^2.1478.0",
"bad-words": "^3.0.4",
"bcryptjs": "^2.4.3",
"big-json": "^3.2.0",
"body-parser": "^1.20.2",
"chart.js": "^4.2.1",
"chartjs-adapter-date-fns": "^3.0.0",
"classnames": "^2.2.6",
"clone": "^2.1.2",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"core-js": "^3.33.1",
"csurf": "^1.11.0",
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"dynamodb-store": "^1.2.0",
"elo-rating": "^1.0.1",
"email-templates": "^12.0.1",
"event-stream": "^4.0.1",
"events": "^3.3.0",
"express": "^4.18.2",
"express-fileupload": "^1.1.9",
"express-messages": "^1.0.1",
"express-rate-limit": "^7.4.0",
"express-session": "^1.17.3",
"express-validator": "^7.1.0",
"forever-monitor": "^1.7.2",
"github-slugger": "^2.0.0",
"html-to-text": "^9.0.5",
"http": "0.0.1-security",
"JSONStream": "^1.3.5",
"lodash": "^4.17.21",
"micromark": "^4.0.0",
"micromark-factory-space": "^2.0.0",
"micromark-util-character": "^2.0.1",
"micromark-util-chunked": "^2.0.0",
"micromark-util-symbol": "^2.0.0",
"mongoose": "^8.5.1",
"mongoose-seed": "^0.6.0",
"nearley": "^2.19.3",
"node-cache": "^5.1.2",
"node-fetch": "^2.7.0",
"node-gyp": "^11.0.0",
"node-schedule": "^2.1.1",
"nodemailer": "^6.4.16",
"on-finished": "^2.3.0",
"papaparse": "^5.2.0",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"patreon": "^0.4.1",
"performance-now": "^2.1.0",
"prettier": "^3.0.3",
"prop-types": "^15.7.2",
"pug": "^3.0.1",
"react": "^18.3.1",
"react-audio-player": "^0.17.0",
"react-chartjs-2": "^5.2.0",
"react-csv": "^2.0.3",
"react-dom": "^18.3.1",
"react-google-recaptcha": "^3.1.0",
"react-markdown": "^9.0.1",
"react-player": "^2.6.1",
"react-qr-code": "^2.0.15",
"react-syntax-highlighter": "^15.3.0",
"react-timeago": "^7.1.0",
"redis": "^3.1.2",
"rehype-katex": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"rss": "^1.2.2",
"rss-parser": "^3.13.0",
"sanitize-html": "^2.11.0",
"seedrandom": "^3.0.5",
"serialize-javascript": "^6.0.2",
"sharp": "^0.33.5",
"shuffle-seed": "^1.1.6",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"stream": "^0.0.3",
"stream-chain": "^3.3.2",
"stream-json": "^1.9.1",
"tmp": "^0.2.3",
"turndown": "^7.1.1",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"util": "^0.12.4",
"uuid": "^10.0.0",
"webpack": "^5.93.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
"@babel/plugin-transform-optional-chaining": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.8.0",
"@react-mock/fetch": "^0.3.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@types/core-js": "^2.5.8",
"@types/eslint__js": "^8.42.3",
"@types/nearley": "^2.11.5",
"@types/react": "^18.3.3",
"@types/react-csv": "^1.1.10",
"@types/react-dom": "^18.3.0",
"@types/react-google-recaptcha": "^2.1.9",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-timeago": "^4.1.7",
"@types/shuffle-seed": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.2",
"eslint": "^9.11.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.9.0",
"nodemon": "^3.1.4",
"postcss": "^8.4.47",
"raw-loader": "^4.0.2",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.13",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-node-externals": "^3.0.0"
},
"packageManager": "[email protected]"
}