-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.34 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.34 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
{
"name": "@kaisukez/makruk-js",
"version": "4.0.2",
"description": "Makruk (thai chess)",
"author": "kaisukez",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kaisukez/makruk-js.git"
},
"bugs": {
"url": "https://github.com/kaisukez/makruk-js/issues"
},
"homepage": "https://github.com/kaisukez/makruk-js#readme",
"keywords": [
"makruk",
"makruk-thai",
"thai-chess",
"chess-variant"
],
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./bitboard": {
"types": "./dist/bitboard.d.ts",
"require": "./dist/bitboard.js",
"import": "./dist/bitboard.mjs"
},
"./0x88": {
"types": "./dist/0x88.d.ts",
"require": "./dist/0x88.js",
"import": "./dist/0x88.mjs"
},
"./package.json": "./package.json"
},
"packageManager": "pnpm@9.0.0",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts src/bitboard.ts src/0x88.ts --format cjs,esm --dts --minify",
"test": "jest -c jest.config.js --coverage",
"benchmark": "npm run build && node benchmark/index.js",
"benchmark:fen": "npm run build && node benchmark/index.js fen",
"benchmark:moves": "npm run build && node benchmark/index.js moves",
"benchmark:ai": "npm run build && node benchmark/index.js ai",
"benchmark:parallel": "npm run build && node benchmark/index.js parallel",
"web:dev": "pnpm --filter makruk-web dev",
"web:build": "pnpm --filter makruk-web build",
"web:preview": "pnpm --filter makruk-web preview"
},
"devDependencies": {
"@babel/preset-env": "^7.29.2",
"@babel/preset-typescript": "^7.28.5",
"@types/jest": "^30.0.0",
"@types/node": "^25.6.0",
"jest": "^30.3.0",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"tsup": "^8.5.1",
"typescript": "^6.0.2"
},
"dependencies": {
"immer": "^11.0.1"
}
}