-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
50 lines (50 loc) · 1.84 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
{
"type": "module",
"private": true,
"packageManager": "[email protected]",
"homepage": "https://sakura.wrxinyue.org",
"scripts": {
"build": "pnpm run build:sakura",
"build:sakura": "pnpm -C demos/sakura run build",
"build:docs": "pnpm -C docs run build",
"build:all": "pnpm run -r --parallel build",
"clean": "pnpm -r exec rimraf dist node_modules",
"ci:publish": "tsx scripts/prepublish.ts && pnpm -r publish --access public --no-git-checks",
"dev": "pnpm run dev:sakura",
"dev:sakura": "pnpm -C demos/sakura run dev",
"dev:mashiro": "pnpm -C demos/mashiro run dev",
"dev:sakurairo": "pnpm -C demos/sakurairo run dev",
"docs": "pnpm -C docs run dev",
"preview": "cd demos/sakura && vite preview --host",
"preview:docs": "cd docs && vite preview --host",
"lint": "cross-env eslint . --ignore-pattern '**/*.md'",
"stylelint": "cross-env stylelint \"**/*.{css,scss,vue}\"",
"release": "cd theme && git add -A && bumpp",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"eslint:debug": "eslint --debug .",
"eslint:inspect": "npx @eslint/config-inspector",
"postinstall": "npx simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "2.22.0-beta.3",
"@unocss/eslint-plugin": "^0.61.9",
"bumpp": "^9.9.0",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-plugin-format": "^0.1.3",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^13.1.0",
"taze": "^0.18.0",
"tsx": "^4.19.2",
"typescript": "catalog:",
"valaxy-theme-sakura": "workspace:*",
"vue-tsc": "2.0.26"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint --fix && pnpm stylelint --fix && pnpm typecheck",
"pre-push": "sh scripts/pre-push.sh"
}
}