-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
89 lines (89 loc) · 3.46 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
{
"name": "@abstractplay/gameslib",
"version": "1.0.0-beta",
"description": "TypeScript implementations of the core Abstract Play games, intended to be wrapped by the front- and backends",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"scripts": {
"build": "npm run json2ts && npm run build-ts && npm run lint",
"build-ts": "tsc && npm pack",
"test0": "mocha -r ts-node/register test/games/bao.test.ts",
"test": "mocha -r ts-node/register test/**/*.test.ts",
"lint": "npx eslint \"src/**/*.ts\" -c .eslintrc.js",
"dist-dev": "rimraf dist && webpack",
"dist-prod": "rimraf dist && webpack --mode=production",
"full-dev": "npm run test && npm run build && npm run dist-dev && npm run deploy",
"full-prod": "npm run test && npm run build && npm run dist-prod && npm run deploy",
"deploy": "shx cp ./playground/index.html ./dist && npx serverless client deploy --no-confirm --no-delete-contents && aws cloudfront create-invalidation --profile AbstractPlayProd --distribution-id E19KPZXKKYK444 --paths /*",
"extract": "i18next 'src/**/*.ts'",
"json2ts": "npx json2ts -i src/schemas/gameinfo.json -o src/schemas/gameinfo.d.ts && npx json2ts -i src/schemas/moveresults.json -o src/schemas/moveresults.d.ts && npx json2ts -i src/games/tafl/ruleset.json -o src/games/tafl/ruleset.d.ts",
"npm-login": "npm login --scope=@abstractplay --auth-type=legacy --registry=https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "AbstractPlay/gameslib"
},
"author": "Aaron Dalton <[email protected]> (https://www.perlkonig.com/)",
"license": "MIT",
"keywords": [
"abstractplay",
"games"
],
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/earcut": "^2.1.4",
"@types/mocha": "^10.0.1",
"@types/rfdc": "^1.2.0",
"@types/svgdom": "^0.1.2",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"chai": "^4.3.7",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.1.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^46.0.0",
"graphology-svg": "^0.1.3",
"graphology-types": "^0.24.7",
"json-schema-to-typescript": "^12.0.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.1",
"serverless-finch": "^4.0.3",
"shx": "^0.3.4",
"svgdom": "^0.1.19",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsx": "^4.7.3",
"typescript": "^5.0.4",
"webpack": "^5.78.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@abstractplay/recranks": "latest",
"@abstractplay/renderer": "^1.0.0-ci-11195198946.0",
"@turf/boolean-contains": "^6.5.0",
"@turf/boolean-intersects": "^6.5.0",
"@turf/boolean-point-in-polygon": "^6.5.0",
"@turf/boolean-within": "^6.5.0",
"@turf/difference": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@turf/points-within-polygon": "^6.5.0",
"@types/fnv-plus": "^1.3.2",
"earcut": "^2.2.4",
"fnv-plus": "^1.3.1",
"graphology": "^0.25.1",
"graphology-components": "^1.5.4",
"graphology-shortest-path": "^2.0.2",
"graphology-simple-path": "^0.2.0",
"graphology-traversal": "^0.3.1",
"honeycomb-grid": "4.1.1",
"i18next": "^21.10.0",
"js-combinatorics": "^2.1.1",
"json-stringify-deterministic": "^1.0.12",
"lodash": "^4.17.21",
"minmax-wt-alpha-beta-pruning": "^1.0.5",
"nanoid": "^5.0.4",
"rfdc": "^1.3.0"
}
}