-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 3.06 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
{
"name": "@abstractplay/renderer",
"version": "1.0.0-beta",
"description": "Renders Abstract Play game states graphically",
"repository": {
"type": "git",
"url": "AbstractPlay/renderer"
},
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "npm run build-ts && npm run lint",
"build-ts": "npm run json2ts && tsc && shx cp ./src/schemas/schema.d.ts ./build/schemas",
"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",
"json2ts": "npx json2ts -i src/schemas/schema.json -o src/schemas/schema.d.ts",
"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 ./test/playground.html ./dist && npx serverless client deploy --no-confirm && aws s3 cp ./dist/APRender.js s3://gameslib.dev.abstractplay.com --profile AbstractPlayDev && aws cloudfront create-invalidation --profile AbstractPlayDev --distribution-id E33VPPE0ZRJI7E --paths /*"
},
"author": "Aaron Dalton <[email protected]> (https://www.perlkonig.com)",
"license": "MIT",
"keywords": [
"abstractplay",
"svg"
],
"dependencies": {
"@svgdotjs/svg.js": "3.2.0",
"@turf/union": "^6.5.0",
"@types/fnv-plus": "^1.3.2",
"ajv": "^8.12.0",
"color-convert": "^2.0.1",
"fnv-plus": "^1.3.1",
"graphology": "^0.25.4",
"honeycomb-grid": "4.1.1",
"json-stringify-deterministic": "^1.0.12",
"monotone-chain-convex-hull": "^1.1.0",
"tinycolor2": "^1.6.0",
"transformation-matrix-js": "github:epistemex/transformation-matrix-js",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/color-convert": "^2.0.3",
"@types/geojson": "^7946.0.14",
"@types/mocha": "^10.0.1",
"@types/tinycolor2": "^1.4.6",
"@types/uuid": "^9.0.1",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"aws-amplify": "^5.3.3",
"chai": "^4.3.7",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unicorn": "^46.0.0",
"json-schema-to-typescript": "^12.0.0",
"mocha": "^10.2.0",
"moment": "^2.29.4",
"rimraf": "^5.0.1",
"serverless-finch": "^4.0.3",
"shx": "^0.3.4",
"svgdom": "^0.1.14",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.81.0",
"webpack-cli": "^5.0.2",
"yargs": "^17.7.2"
},
"eslintIgnore": [
"src/schemas/*"
]
}