-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
28 lines (28 loc) · 1.36 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
{
"scripts": {
"serve": "serve public --no-compression",
"build": "rm -rf public/lib && mkdir -p public/lib && cp node_modules/fairy-stockfish-nnue.wasm/* public/lib && cp node_modules/ffish-es6/ffish.wasm public/ && browserify -p esmify src/main.js -o public/bundle.js && cp node_modules/mithril/mithril.min.js public/lib && cp src/*Feature.js public/lib && cp -f src/server.js .",
"buildwithcmd": "rd /s /q public\\lib & md public\\lib && copy /Y node_modules\\fairy-stockfish-nnue.wasm\\* public\\lib && copy /Y node_modules\\ffish-es6\\ffish.wasm public\\ && browserify -p esmify src/main.js -o public/bundle.js && copy /Y node_modules\\mithril\\mithril.min.js public\\lib && copy /Y src\\*Feature.js public\\lib\\ && copy /Y src\\server.js .\\",
"watch-build": "watchify -p esmify src/main.js -o public/bundle.js",
"format": "prettier --write src public/*.html",
"format:check": "prettier --check src public/*.html"
},
"license": "GPL-3.0-or-later",
"dependencies": {
"chessgroundx": "^10.5.3",
"express": "^4.18.2",
"fairy-stockfish-nnue.wasm": "^1.1.8",
"ffish-es6": "^0.7.6",
"mithril": "^2.2.2",
"serve": "^14.2.1",
"ws": "^8.16.0"
},
"devDependencies": {
"browser-resolve": "^2.0.0",
"browserify": "^17.0.0",
"esmify": "^2.1.1",
"prettier": "^3.2.5",
"vercel": "^33.5.2",
"watchify": "^4.0.0"
}
}