-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
112 lines (112 loc) · 3.76 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
{
"name": "@advjs/monorepo",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "[email protected]",
"description": "面向未来与前端的 ADV 文字冒险游戏引擎。",
"author": {
"name": "YunYouJun",
"email": "[email protected]",
"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",
"e2e": "playwright test",
"e2e:ui": "pnpm exec playwright test --ui",
"test": "vitest",
"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": "^4.1.0",
"@antfu/ni": "catalog:",
"@playwright/test": "^1.50.0",
"@types/fs-extra": "catalog:",
"@types/howler": "catalog:",
"@types/node": "catalog:",
"@types/prompts": "catalog:",
"@types/semver": "catalog:",
"@types/unist": "catalog:",
"@types/wicg-file-system-access": "catalog:",
"@types/yargs": "catalog:",
"@unocss/eslint-plugin": "^65.4.3",
"@webgpu/types": "catalog:",
"advjs": "workspace:*",
"bumpp": "catalog:",
"consola": "catalog:",
"cross-env": "catalog:",
"eslint": "catalog:",
"eslint-plugin-format": "catalog:",
"husky": "catalog:",
"lint-staged": "catalog:",
"npm-run-all": "catalog:",
"rimraf": "catalog:",
"tsup": "catalog:",
"tsx": "catalog:",
"typedoc": "catalog:",
"typescript": "^5.7.3",
"unbuild": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"vue-tsc": "catalog:"
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix"
]
}
}