-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
32 lines (32 loc) · 1.25 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
{
"name": "poker-guandan-strategy",
"version": "1.0.0",
"description": "guandan strategy calculation and web app",
"scripts": {
"npm:init:win": "npm config set script-shell \"C:\\bin\\Git\\bin\\bash.exe\"",
"prebuild": "npm run clean && mkdir -p app/public/res",
"build": "em++ strategy.cpp cc/common.cpp -o app/public/res/strategy.js -s EXTRA_EXPORTED_RUNTIME_METHODS='[\"cwrap\", \"ccall\"]' --bind",
"build:asm": "em++ strategy.cpp cc/common.cpp -o app/public/res/strategy.js -s WASM=0 -s EXTRA_EXPORTED_RUNTIME_METHODS='[\"cwrap\", \"ccall\"]' --bind",
"clean": "rm -rf a.out* a.exe app/public/res/*",
"build:prod": "cd app && npm run build",
"predeploy": "npm run build:prod",
"deploy": "rm -rf docs/* && cp -r app/build/* docs",
"deploy-and-push": "npm run deploy && git add -A && git ci -m \"chore: release\" && git push origin HEAD"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Bobgy/poker-guandan-strategy.git"
},
"keywords": [
"poker",
"guandan",
"strategy",
"wasm"
],
"author": "Yuan Gong",
"license": "MIT",
"bugs": {
"url": "https://github.com/Bobgy/poker-guandan-strategy/issues"
},
"homepage": "https://github.com/Bobgy/poker-guandan-strategy#readme"
}