mirror of
https://github.com/kamask-dev/pchelpmaster.git
synced 2026-11-11 05:49:38 +00:00
- add tsconfig.tests.json and run tsc in test:api - move vitest ProvidedContext types to provided-context.d.ts - rename vitest.api.config.ts to .mts - kill signal-test fixture with SIGTERM first so cleanup still runs - add tests: no files in pb_migrations, independent user/guest clients - docs: drop superuser env vars from tests in README, note tsc in testing.md Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
{
|
|
"name": "pchelpcrm",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test",
|
|
"test:api": "tsc -p tsconfig.tests.json && vitest run --config vitest.api.config.mts",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"serve:ssr:pchelpcrm": "node dist/pchelpcrm/server/server.mjs",
|
|
"pb:serve": "pocketbase serve --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations --dev",
|
|
"pb:superuser": "node --env-file=.env scripts/pb-superuser.mjs",
|
|
"pb:migrate": "pocketbase migrate up --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/common": "^22.2.0",
|
|
"@angular/compiler": "^22.2.0",
|
|
"@angular/core": "^22.2.0",
|
|
"@angular/forms": "^22.2.0",
|
|
"@angular/platform-browser": "^22.2.0",
|
|
"@angular/platform-server": "^22.2.0",
|
|
"@angular/router": "^22.2.0",
|
|
"@angular/ssr": "^22.2.3",
|
|
"express": "^5.1.0",
|
|
"pocketbase": "^0.28.1",
|
|
"rxjs": "~7.8.0",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/build": "^22.2.3",
|
|
"@angular/cli": "^22.2.3",
|
|
"@angular/compiler-cli": "^22.2.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/express": "^5.0.1",
|
|
"@types/node": "^22.12.0",
|
|
"angular-eslint": "^22.6.0",
|
|
"eslint": "^10.13.0",
|
|
"jsdom": "^30.0.0",
|
|
"prettier": "^3.8.1",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.72.0",
|
|
"vitest": "^5.0.0"
|
|
}
|
|
}
|