-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
114 lines (114 loc) · 3.77 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@advjs/monorepo",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@9.7.1",
"description": "面向未来与前端的 ADV 文字冒险游戏引擎。",
"author": {
"name": "YunYouJun",
"email": "me@yunyoujun.cn",
"url": "https://www.yunyoujun.cn"
},
"license": "MPL-2.0",
"homepage": "https://advjs.org",
"repository": {
"type": "git",
"url": "https://github.com/YunYouJun/advjs"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "pnpm --filter=./packages/** run build",
"build:advjs": "pnpm types:build && pnpm parser:build && pnpm core:build && pnpm advjs:build",
"build:demo": "pnpm -C demo/starter run build",
"clean": "tsx scripts/clean.ts",
"demo": "pnpm -C demo/starter run dev",
"demo:love": "pnpm -C demo/love run dev",
"start": "pnpm -C packages/advjs run start",
"dev": "pnpm -r --filter=./packages/* run dev",
"dev:advjs": "pnpm run parser:build && run-p advjs:dev parser:dev",
"dev:vrm": "run-p vrm:dev babylon:dev",
"editor": "pnpm -C editor/core run dev",
"lint": "eslint .",
"release": "tsx release.ts",
"release:gui": "pnpm -C packages/gui run release",
"prepare": "husky install",
"preview": "pnpm -C packages/advjs preview",
"advjs:build": "pnpm -C packages/advjs run build",
"advjs:dev": "pnpm -C packages/advjs run dev",
"babylon:build": "pnpm -C packages/plugin-babylon build",
"babylon:dev": "pnpm -C packages/plugin-babylon dev",
"core:build": "pnpm -C packages/core build",
"core:dev": "pnpm -C packages/core dev",
"docs": "pnpm -C docs dev",
"docs:build": "pnpm -C docs build",
"docs:dev": "pnpm -C docs dev",
"docs:pre": "pnpm -C docs typedoc:md",
"docs:serve": "pnpm -C docs serve",
"editor:build": "pnpm -C editor/core build",
"parser:build": "pnpm -C packages/parser build",
"parser:dev": "pnpm -C packages/parser dev",
"parser:play": "pnpm -C packages/parser play",
"parser:play:build": "pnpm -C packages/parser play:build",
"vrm:build": "pnpm -C editor/vrm build",
"vrm:dev": "pnpm -C editor/vrm dev",
"types:build": "pnpm -C packages/types build",
"types:dev": "pnpm -C packages/types dev",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"typedoc": "typedoc",
"typedoc:serve": "serve docs/api/dist",
"test": "vitest",
"test:e2e": "cypress open",
"test:unit": "vitest"
},
"devDependencies": {
"@advjs/core": "workspace:*",
"@advjs/gui": "workspace:*",
"@advjs/parser": "workspace:*",
"@advjs/plugin-babylon": "workspace:*",
"@advjs/theme-default": "workspace:*",
"@advjs/types": "workspace:*",
"@antfu/eslint-config": "2.9.0",
"@antfu/ni": "^0.22.4",
"@playwright/test": "^1.46.1",
"@types/fs-extra": "^11.0.4",
"@types/howler": "^2.2.11",
"@types/node": "^22.4.1",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"@types/unist": "^3.0.3",
"@types/wicg-file-system-access": "^2023.10.5",
"@types/yargs": "^17.0.33",
"@webgpu/types": "^0.1.44",
"advjs": "workspace:*",
"bumpp": "^9.5.1",
"consola": "^3.2.3",
"cross-env": "^7.0.3",
"cypress": "^13.13.3",
"cypress-vite": "^1.5.0",
"eslint": "8.57.0",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-format": "^0.1.2",
"husky": "^9.1.4",
"lint-staged": "^15.2.9",
"npm-run-all": "^4.1.5",
"playwright-chromium": "^1.46.1",
"rimraf": "^5.0.10",
"tsup": "^8.2.4",
"tsx": "^4.17.0",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
"vite": "^5.4.1",
"vitest": "^2.0.5",
"vue-tsc": "^2.0.29"
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix"
]
}
}