-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
91 lines (91 loc) · 3.25 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
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
{
"name": "@supeffective/dataset",
"version": "4.1.1",
"description": "Dataset for supereffective.gg",
"homepage": "https://github.com/supeffective/dataset#readme",
"bugs": {
"url": "https://github.com/supeffective/dataset/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/supeffective/dataset.git"
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./data/*": "./dist/data/*"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rm -rf dist && sleep 1 && pnpm build:lib && pnpm build:data",
"build:data": "pnpm data:import && pnpm data:generate && pnpm data:format && pnpm data:minify && pnpm data:generate-html",
"build:lib": "tsup",
"data:format": "bun data:prettier && bun ./src/internal/scripts/data-format.ts",
"data:generate": "bun ./src/internal/scripts/generate-all.ts",
"data:generate-html": "bun ./src/internal/scripts/generate-html-index.ts",
"data:import": "bun ./src/internal/scripts/import-all-data.ts",
"data:minify": "bun ./src/internal/scripts/minify.ts ./data ./dist/data",
"data:one-off": "bun ./src/internal/scripts/one-off.ts",
"data:prettier": "prettier --write './data/texts/**/*.json' './data/pokedexes/**/*.json' './data/pokemon/**/*.json'",
"dev": "concurrently --raw \"pnpm dev:watch\" \"pnpm dev:server\"",
"dev:server": "bun src/internal/dev/dev-server.ts",
"dev:watch": "tsup --watch --clean=false",
"format": "pnpm lint-fix && pnpm format:package-json && pnpm data:format && pnpm data:minify",
"format:package-json": "sort-package-json",
"lint": "biome lint --max-diagnostics=100 .",
"lint-fix": "biome check --max-diagnostics=100 --write . && pnpm format:package-json",
"pretty": "pnpm format",
"publint": "publint",
"qa": "pnpm build && pnpm lint && pnpm typecheck && pnpm publint && pnpm test:ci",
"qa:nobuild": "pnpm lint && pnpm typecheck && pnpm publint && pnpm test:ci",
"test": "bun test --bail=1",
"test:ci": "bun test --coverage --bail=5 --ci",
"test:coverage": "bun test --coverage",
"typecheck": "tsc --noEmit --skipLibCheck",
"version:bump": "pnpm qa && pnpm exec changelogen --bump --release",
"version:publish": "pnpm version:release",
"version:release": "pnpm build && npm publish --access=public"
},
"dependencies": {
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@pkmn/dex": "^0.9.12",
"@pkmn/dex-types": "^0.9.12",
"@types/body-parser": "^1.19.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^22.4.0",
"body-parser": "^1.20.2",
"bun": "^1.1.24",
"bun-types": "1.1.24",
"changelogen": "^0.5.5",
"concurrently": "^8.2.2",
"cors": "^2.8.5",
"express": "^4.19.2",
"glob": "^11.0.0",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"sort-package-json": "^2.10.0",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
}
}