-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.2 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
{
"scripts": {
"========= Dev": "",
"dev": "pnpm run handli:build && pnpm run demo:dev",
"========= Build & preview demo": "",
"build": "pnpm run handli:build && pnpm run demo:build",
"preview": "pnpm run handli:build && pnpm run demo:preview",
"========= Handli": "",
"handli:dev": "cd handli/ && pnpm run dev",
"handli:build": "cd handli/ && pnpm run build",
"========= Demo": "",
"demo:dev": "cd demo/ && pnpm run dev",
"demo:build": "cd demo/ && pnpm run build",
"demo:preview": "cd demo/ && pnpm run preview",
"========= Formatting": "",
"format": "pnpm run format:biome",
"format:prettier": "git ls-files | egrep '\\.(json|js|jsx|css|ts|tsx|vue|mjs|cjs)$' | grep --invert-match package.json | xargs pnpm exec prettier --write",
"format:biome": "biome format --write .",
"format:check": "biome format . || (echo 'Fix formatting by running `$ pnpm run -w format`.' && exit 1)",
"========= Reset": "",
"reset": "git clean -Xdf && pnpm install && pnpm run build",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"prettier": "3.2.5"
}
}