chore: init read-star monorepo

This commit is contained in:
2026-01-16 13:06:44 +08:00
commit 1e510efe8e
508 changed files with 44803 additions and 0 deletions

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "reader-star",
"type": "module",
"scripts": {
"build:admin": "pnpm --filter @reader-star/admin build",
"build:user": "pnpm --filter @reader-star/user build",
"cleanup": "pnpm -r exec rm -rf node_modules",
"dev:admin": "pnpm --filter @reader-star/admin dev",
"dev:user": "pnpm --filter @reader-star/user dev",
"lint": "eslint . --fix",
"prepare": "simple-git-hooks",
"typecheck": "pnpm -r typecheck"
},
"devDependencies": {
"@read-star/eslint-config": "workspace:*",
"eslint": "latest",
"eslint-plugin-format": "^1.3.1",
"lint-staged": "latest",
"simple-git-hooks": "latest",
"typescript": "latest"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}