-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.6 KB
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
{
"name": "@nodots/backgammon-core",
"version": "1.0.2",
"description": "Core game logic for Nodots Backgammon",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"backgammon",
"core",
"engine",
"rules",
"boardgame",
"typescript"
],
"author": "Ken Riley <kenr@nodots.com>",
"license": "GPL-3.0",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nodots/backgammon-core.git"
},
"homepage": "https://github.com/nodots/backgammon-core/tree/main",
"bugs": {
"url": "https://github.com/nodots/backgammon-core/issues"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:single": "jest -t",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"prebuild": "npm run clean",
"build": "tsc -b --force",
"clean": "rm -rf dist coverage",
"simulate": "NODE_OPTIONS= ts-node src/scripts/simulate.ts",
"simulate:game": "NODE_OPTIONS= ts-node src/scripts/simulateGame.ts",
"simulate:multiple": "NODE_OPTIONS= ts-node src/scripts/simulateMultipleGames.ts",
"simulate:debug": "NODE_OPTIONS= ts-node src/scripts/debugSingleGame.ts",
"simulate:gnu-vs-gnu": "NODE_OPTIONS= ts-node src/scripts/simulateGnuVsGnu.ts",
"simulate:gnu-vs-gnu-batch": "NODE_OPTIONS= ts-node src/scripts/simulateGnuVsGnuBatch.ts",
"simulate:log": "NODE_OPTIONS= ts-node src/scripts/logSingleGame.ts",
"simulate:until-win": "NODE_OPTIONS= ts-node src/scripts/simulate.ts 0",
"simulate:batch": "NODE_OPTIONS= NODOTS_SIM_FAST=1 NODOTS_SIM_QUIET=1 NODOTS_LOG_SILENT=1 ts-node src/scripts/simulateBatch.ts",
"install:latest-types": "rm -rf node_modules package-lock.json && npm install",
"release": "npm run build && npm publish --access public",
"release:provenance": "npm run build && npm publish --access public --provenance",
"publish:dry-run": "npm run build && npm publish --access public --dry-run",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@nodots/backgammon-types": "^1.0.3",
"@nodots/gnubg-hints": "^1.0.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@eslint/js": "^9.2.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.30",
"@types/uuid": "^10.0.0",
"eslint": "^9.19.0",
"globals": "^15.2.0",
"jest": "^29.7.0",
"minimatch": "^3.1.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0"
},
"engines": {
"node": ">=20"
}
}