Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) 路 3.47 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) 路 3.47 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
99
100
101
102
103
104
{
"name": "@fbb.sh/pkdx",
"version": "0.7.1",
"description": "A terminal Pokedex with fuzzy search, sprites, stats, evolutions, and damage matchups.",
"license": "MIT",
"keywords": [
"pokemon",
"pokedex",
"terminal",
"cli",
"tui"
],
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/fbosch/pkdx.git"
},
"imports": {
"#src/*.ts": "./src/*.ts",
"#src/*.tsx": "./src/*.tsx"
},
"files": [
"bin/pkdx.mjs"
],
"engines": {
"node": ">=18"
},
"bin": {
"pkdx": "bin/pkdx.mjs"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"dev": "NODE_ENV=development bun run src/cli.tsx",
"start": "bun run build && ./dist/pkdx",
"build": "DEV=false bun build --compile --env='DEV*' --outfile=dist/pkdx src/cli.tsx",
"analyze:bundle": "DEV=false bun build --target=bun --production --env='DEV*' --outdir=dist/analyze --metafile=dist/analyze/metafile.json --metafile-md=dist/analyze/metafile.md src/cli.tsx --external='@opentui/core-*'",
"test": "bun test",
"test:related": "bun run scripts/test-related.ts",
"coverage:badge": "bun run scripts/generate-coverage-badge.ts",
"typecheck": "tsc --noEmit",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint .",
"fallow": "fallow --summary",
"fallow:audit": "fallow audit --quiet",
"fallow:badge": "bun run scripts/generate-fallow-badge.ts",
"badges:staged": "bun run scripts/update-staged-badges.ts",
"bench": "bun run scripts/run-benchmarks.ts",
"commitlint": "commitlint",
"lint-staged": "lint-staged",
"hooks:install": "lefthook install",
"smoke:binary": "bun run scripts/smoke-binary.ts",
"prepare:release-packages": "node scripts/prepare-release-packages.mjs",
"verify:release-package": "node scripts/verify-release-package.mjs",
"check": "bun run format:check && bun run lint && bun run typecheck && bun test && bun run verify:index && bun run build && bun run fallow",
"generate:index": "bun run scripts/generate-index.ts",
"generate:pokeapi-types": "openapi-typescript https://raw.githubusercontent.com/PokeAPI/pokeapi/master/openapi.yml -o src/pokeapi/generated.ts && biome format --write src/pokeapi/generated.ts",
"verify:index": "bun run scripts/verify-index.ts",
"ci": "bun run check && bun run smoke:binary",
"openspec": "openspec"
},
"devDependencies": {
"@biomejs/biome": "^2.5.1",
"@commitlint/cli": "^21.1.0",
"@commitlint/config-conventional": "^21.1.0",
"@fission-ai/openspec": "^1.4.1",
"@opentui/core": "^0.4.2",
"@opentui/react": "^0.4.2",
"@tanstack/react-query": "^5.101.2",
"@tanstack/react-query-persist-client": "^5.101.2",
"@types/bun": "^1.3.14",
"@types/react": "^19.2.17",
"@types/react-reconciler": "^0.33.0",
"fallow": "^3.0.0",
"fuse.js": "^7.4.2",
"lefthook": "^2.1.9",
"lint-staged": "^17.0.8",
"msw": "^2.14.6",
"openapi-typescript": "^7.13.0",
"react": "^19.2.7",
"ts-pattern": "^5.9.0",
"typescript": "^7.0.2",
"zod": "4.4.3"
},
"trustedDependencies": [
"@fission-ai/openspec",
"lefthook",
"msw"
],
"lint-staged": {
"*.{js,jsx,ts,tsx,json,jsonc}": [
"biome format --write",
"biome lint"
],
"*.{ts,tsx}": [
"bun run test:related",
"bun run badges:staged"
],
"*.{js,jsx,json,jsonc,mjs,mts,cjs,cts,toml}": "bun run badges:staged"
}
}