-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.76 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "@wyrcan/gamr",
"version": "0.4.0-beta.1",
"description": "A curated anthology of original terminal games for xterm.js and CLI",
"license": "AGPL-3.0",
"type": "module",
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
},
"overrides": {
"esbuild": "^0.28.1"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"gamr": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./themes": {
"types": "./dist/themes.d.ts",
"import": "./dist/themes.js"
},
"./playtest": {
"types": "./dist/playtest.d.ts",
"import": "./dist/playtest.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"playtest": "npm run build && node scripts/playtest.mjs",
"start": "node scripts/start.mjs",
"start:build": "npm run build && npm run start",
"dev": "tsup --watch",
"check:format": "node scripts/check-format.mjs",
"check:source": "node scripts/check-source.mjs",
"lint": "eslint \"src/**/*.ts\"",
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
"test": "vitest run",
"coverage": "vitest run --coverage --coverage.reporter=text-summary --coverage.reporter=json-summary --coverage.thresholds.lines=70 --coverage.thresholds.functions=75 --coverage.thresholds.branches=50 --coverage.thresholds.statements=60",
"test:watch": "vitest",
"test:cli": "node scripts/cli-smoke.mjs",
"test:pty": "node scripts/pty-smoke.mjs",
"test:render-performance": "node scripts/render-benchmark.mjs",
"pack:smoke": "node scripts/pack-smoke.mjs",
"prepublishOnly": "npm run check:format && npm run check:source && npm run lint && npm run typecheck && npm test && npm run build && npm run test:cli && npm run test:pty && npm run test:render-performance && npm run pack:smoke"
},
"peerDependencies": {
"@xterm/xterm": ">=5.0.0 <7"
},
"peerDependenciesMeta": {
"@xterm/xterm": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "4.1.10",
"@xterm/xterm": "^6.0.0",
"eslint": "9.39.2",
"node-pty": "1.1.0",
"tsup": "^8.5.1",
"typescript": "^5.8.3",
"typescript-eslint": "8.64.0",
"vitest": "^4.0.18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Wyrcan-io/gamr.git"
},
"homepage": "https://github.com/Wyrcan-io/gamr#readme",
"bugs": {
"url": "https://github.com/Wyrcan-io/gamr/issues"
},
"keywords": [
"terminal",
"games",
"cli",
"xterm",
"terminal-ui",
"puzzle-games",
"game-anthology"
],
"author": "wyrcan.io",
"dependencies": {
"@clack/prompts": "^1.0.1"
}
}