chore: dev only start web dev now, rename to use dev: stub: build: test: lint: for scripts

This commit is contained in:
Neko Ayaka
2025-05-27 22:32:22 +08:00
parent 57e0edba74
commit b920ef3d3a
9 changed files with 33 additions and 32 deletions
+15 -15
View File
@@ -11,30 +11,30 @@
},
"license": "MIT",
"scripts": {
"postinstall": "npx simple-git-hooks && pnpm packages:build",
"dev": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" run --parallel dev",
"dev": "pnpm -r -F @proj-airi/stage-web dev",
"dev:ui": "pnpm -rF @proj-airi/stage-ui run story:dev",
"dev:web": "pnpm -rF @proj-airi/stage-web run dev",
"dev:tamagotchi": "pnpm -rF @proj-airi/stage-tamagotchi run app:dev",
"dev:apps": "pnpm -rF=\"./apps/*\" run --parallel dev",
"dev:packages": "pnpm -rF=\"./packages/*\" --parallel run dev",
"stub:packages": "pnpm -rF=\"./packages/*\" run --parallel stub",
"build": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" run build",
"ui:dev": "pnpm -rF @proj-airi/stage-ui run story:dev",
"apps:web:dev": "pnpm -rF @proj-airi/stage-web run dev",
"apps:web:build": "pnpm -rF @proj-airi/stage-web run build",
"apps:tamagotchi:dev": "pnpm -rF @proj-airi/stage-tamagotchi run app:dev",
"apps:tamagotchi:build": "pnpm -rF @proj-airi/stage-tamagotchi run app:build",
"apps:dev": "pnpm -rF=\"./apps/*\" run --parallel dev",
"apps:build": "pnpm -rF=\"./apps/*\" run build",
"packages:dev": "pnpm -rF=\"./packages/*\" --parallel run dev",
"packages:stub": "pnpm -rF=\"./packages/*\" run --parallel stub",
"packages:build": "pnpm -rF=\"./packages/*\" run build",
"crates:build": "cargo build --workspace",
"build:web": "pnpm -rF @proj-airi/stage-web run build",
"build:tamagotchi": "pnpm -rF @proj-airi/stage-tamagotchi run app:build",
"build:apps": "pnpm -rF=\"./apps/*\" run build",
"build:packages": "pnpm -rF=\"./packages/*\" run build",
"build:crates": "cargo build --workspace",
"test": "vitest --coverage",
"test:run": "vitest run",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"lint:rust": "cargo fmt --check && cargo clippy --workspace",
"typecheck": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" -F run --parallel typecheck",
"postinstall": "npx simple-git-hooks && pnpm build:packages",
"sizecheck": "npx vite-bundle-visualizer",
"up": "taze major -I",
"changelogithub": "changelogithub",
"nolyfill": "pnpm dlx nolyfill"
"nolyfill": "pnpm dlx nolyfill",
"typecheck": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" -F run --parallel typecheck"
},
"devDependencies": {
"@antfu/eslint-config": "^4.13.2",