-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
42 lines (42 loc) · 1.17 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
{
"version": "0.46.0",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist/*",
"index.d.ts"
],
"engines": {
"node": ">=13"
},
"scripts": {
"clean:dist": "rimraf dist/",
"build:types": "tsc src/index.ts --declarationDir dist/ --lib esnext --emitDeclarationOnly --declaration",
"build:lib": "vite build",
"build": "pnpm clean:dist && pnpm build:lib && pnpm build:types",
"generate": "node ./scripts/generate.js",
"check-missing": "pnpm generate && pnpm build && node ./scripts/check-missing.js",
"format-data": "prettier --log-level warn --write \"src/data/**/*.json\"",
"format-data-en": "prettier --log-level warn --write \"src/data/english/**/*.json\"",
"prepublishOnly": "pnpm generate && pnpm build",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"name": "genshin-data",
"author": "dvaJi",
"devDependencies": {
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitest": "^2.1.5"
}
}