-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 loc) · 1.65 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
{
"name": "@pkmn/ai",
"version": "latest",
"sideEffects": false,
"repository": "github:pkmn/0-ERROR",
"main": "build/pkg/index.js",
"types": "build/pkg/index.d.ts",
"files": [
"build/lib/addon.wasm",
"build/pkg/index.d.ts",
"build/pkg/index.js",
"build/pkg/index.js.map"
],
"engines": {"node": ">=18.0.0"},
"dependencies": {
"@pkmn/data": "^0.9.21",
"@pkmn/engine": "0.1.0-dev.2b11d5c7",
"@pkmn/sets": "^5.1.2"
},
"devDependencies": {
"@pkmn/dex": "^0.9.21",
"@pkmn/eslint-config": "^9.1.0",
"@pkmn/login": "^0.2.0",
"@types/jest": "^29.5.14",
"@types/minimist": "^1.2.5",
"@types/node": "^22.8.7",
"@types/ws": "^8.5.13",
"@vitest/coverage-v8": "^2.1.4",
"binaryen": "^120.0.0",
"bufferutil": "^4.0.8",
"eslint": "^9.14.0",
"minimist": "^1.2.8",
"reconnecting-websocket": "^4.4.0",
"source-map-support": "^0.5.21",
"typescript": "^5.6.3",
"vitest": "^2.1.4",
"ws": "^8.18.0"
},
"scripts": {
"js:lint": "eslint --cache src",
"js:fix": "eslint --fix src",
"js:build": "tsc -p .",
"js:test": "vitest src/pkg",
"zig:lint": "zig build lint",
"zig:fix": "zig fmt .",
"zig:build": "zig build -p build",
"zig:test": "zig build test --summary all",
"lint": "npm run zig:lint && npm run js:lint",
"fix": "npm run zig:fix && npm run js:fix",
"build": "npm run zig:build && npm run js:build",
"test": "npm run zig:test && npm run js:test",
"test:integration": "vitest src/test",
"integration": "npm run build && npm run test && npm run lint",
"prestart": "npm run build",
"start": "node build/bin/bot"
}
}