2026-01-16 13:06:44 +08:00
|
|
|
{
|
|
|
|
|
"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",
|
2026-02-11 17:27:08 +08:00
|
|
|
"dev:importer": "pnpm --filter @reader-star/question-importer start",
|
|
|
|
|
"dev:api": "pnpm --filter @reader-star/question-importer run-import",
|
|
|
|
|
"build": "pnpm -r build",
|
2026-01-16 13:06:44 +08:00
|
|
|
"lint": "eslint . --fix",
|
|
|
|
|
"prepare": "simple-git-hooks",
|
|
|
|
|
"typecheck": "pnpm -r typecheck"
|
|
|
|
|
},
|
2026-01-30 17:45:46 +08:00
|
|
|
"dependencies": {
|
|
|
|
|
"pinia-plugin-persistedstate": "^4.7.1"
|
|
|
|
|
},
|
2026-01-16 13:06:44 +08:00
|
|
|
"devDependencies": {
|
|
|
|
|
"@read-star/eslint-config": "workspace:*",
|
2026-03-05 18:08:17 +08:00
|
|
|
"eslint": "^9.39.2",
|
2026-01-16 13:06:44 +08:00
|
|
|
"eslint-plugin-format": "^1.3.1",
|
|
|
|
|
"lint-staged": "latest",
|
|
|
|
|
"simple-git-hooks": "latest",
|
|
|
|
|
"typescript": "latest"
|
|
|
|
|
},
|
|
|
|
|
"simple-git-hooks": {
|
2026-01-21 16:29:38 +08:00
|
|
|
"pre-commit": "pnpm lint-staged --no-stash"
|
2026-01-16 13:06:44 +08:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*": "eslint --fix"
|
|
|
|
|
}
|
|
|
|
|
}
|