-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
57 lines (57 loc) · 1.82 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
{
"name": "wikibattle",
"description": "1v1 races through Wikipedia article links.",
"version": "2.0.0-4",
"license": "MIT",
"bugs": "https://github.com/goto-bus-stop/WikiBattle/issues",
"author": "Renée Kooi <renee@kooi.me>",
"bin": "bin/wikibattle.js",
"type": "module",
"engines": {
"node": ">= 10.1"
},
"dependencies": {
"@google-cloud/firestore": "^7.11.0",
"cheerio": "^1.0.0-rc.5",
"component-delegate": "^0.2.3",
"crel": "^3.0.0",
"crypto-random-string": "^5.0.0",
"debug": "^4.3.1",
"empty-element": "^1.0.0",
"express": "^4.17.1",
"ms": "^2.1.3",
"nanobus": "^4.4.0",
"node-fetch": "^3.2.4",
"node-schedule": "^2.0.0",
"plausible-tracker": "^0.3.1",
"random-item": "^4.0.1",
"s-ago": "^2.2.0",
"serve-static": "^1.14.1",
"throttleit": "^1.0.0",
"tmp": "0.1.0",
"ws": "^8.6.0",
"ws-events": "^1.0.0"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"esbuild": "^0.24.0",
"less": "^4.1.1",
"standard": "^17.0.0"
},
"repository": "goto-bus-stop/WikiBattle",
"scripts": {
"start": "node bin/wikibattle",
"lint": "standard",
"test": "npm run lint",
"less": "lessc ./src/client/style.less > ./public/style.css",
"update": "node update.js",
"compile": "esbuild src/client/index.js --bundle --minify --outfile=public/app.js",
"compile:dev": "esbuild src/client/index.js --bundle --outfile=public/app.js",
"minify-css": "esbuild public/wiki.css public/style.css --minify --outdir=public --allow-overwrite",
"html": "cpy --flat src/client/index.html public",
"dev": "npm run compile:dev && npm run less && npm run html",
"prod": "npm run less && npm run minify-css && npm run compile && npm run html",
"build": "npm run update && npm run prod",
"prepare": "npm run build"
}
}