app-template/package.json

53 lines
2.1 KiB
JSON

{
"name": "fanmu",
"private": true,
"workspaces": [
"packages/*",
"app/*"
],
"scripts": {
"prepare": "lefthook install",
"dev": "turbo run dev",
"dev:web": "turbo run dev --filter=@app/web",
"dev:api": "turbo run dev --filter=@app/trpc",
"storybook": "yarn workspace @app/ui storybook",
"build": "turbo run build",
"build:web": "turbo run build --filter=@app/web...",
"db:generate": "turbo run db:generate",
"db:push": "turbo run db:push",
"db:studio": "turbo run db:studio",
"db:seed": "yarn workspace @app/db seed",
"docs:dev": "yarn workspace @app/docs dev",
"docs:build": "yarn workspace @app/docs build",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"test:e2e": "playwright test",
"lint": "turbo run lint",
"clean": "turbo run clean",
"format": "turbo run format",
"_dev": "yarn workspace @app/web dev",
"_dev:api": "yarn workspace @app/trpc dev",
"_build": "yarn workspace @app/trpc build && yarn workspace @app/web build",
"_typecheck": "yarn workspace @app/types run typecheck && yarn workspace @app/db run typecheck && yarn workspace @app/trpc run typecheck && yarn workspace @app/web run typecheck",
"_lint": "yarn workspace @app/types run lint && yarn workspace @app/db run lint && yarn workspace @app/trpc run lint && yarn workspace @app/web run lint"
},
"packageManager": "yarn@4.17.1",
"devDependencies": {
"@astrojs/check": "^0.9.10",
"@biomejs/biome": "^2.1.1",
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@emnapi/runtime": "^1.11.3",
"@playwright/test": "^1.63.0",
"@storybook/addon-a11y": "^9.1.10",
"@storybook/addon-docs": "^9.1.10",
"@storybook/react": "^9.1.10",
"@storybook/react-vite": "^9.1.10",
"@typescript/typescript6": "^6.0.2",
"lefthook": "^2.1.14",
"storybook": "^9.1.10",
"turbo": "^2.11.2",
"typescript": "^7.0.2"
}
}