Assessor_2.0/package.json

48 lines
2.3 KiB
JSON

{
"name": "assessor",
"version": "2.24.2",
"private": true,
"type": "module",
"scripts": {
"dev": "node scripts/dev-local.mjs",
"dev:client": "vite --config vite.client.config.ts --host 127.0.0.1",
"prebuild": "npm run test:imports",
"build": "npm run build:client && npm run build:server",
"build:client": "tsc -p tsconfig.app.json --noEmit && vite build --config vite.client.config.ts",
"build:server": "tsc -p tsconfig.server.json --noEmit && vite build --config vite.server.config.ts",
"start:local": "node --env-file-if-exists=.env.postgres dist-server/server.mjs",
"serve:local": "npm run build && npm run start:local",
"db:up": "docker compose --env-file .env.postgres -f docker-compose.postgres.yml up -d",
"db:down": "docker compose --env-file .env.postgres -f docker-compose.postgres.yml down",
"db:logs": "docker compose --env-file .env.postgres -f docker-compose.postgres.yml logs -f postgres",
"rag:ingest": "npm run build:server && node --env-file-if-exists=.env.postgres dist-server/regulatory-ingest.mjs",
"rag:evaluate": "npm run build:server && node --env-file-if-exists=.env.postgres dist-server/regulatory-evaluate.mjs",
"test:postgres": "vitest run --config vitest.config.ts tests/postgres/postgres-repository.integration.test.ts && vitest run --config vitest.config.ts tests/postgres/gpo-backup-management.integration.test.ts tests/postgres/policy-analysis.integration.test.ts",
"test:imports": "node scripts/check-import-contracts.mjs",
"test": "npm run test:imports && vitest run --config vitest.config.ts && node tests/local-only-check.mjs && node tests/design-language-check.mjs",
"test:security": "node tests/local-only-check.mjs",
"test:design": "node tests/design-language-check.mjs",
"test:watch": "vitest --config vitest.config.ts"
},
"dependencies": {
"@fontsource-variable/inter": "^5.3.0",
"jsdom": "^29.1.1",
"pg": "^8.22.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"saxes": "6.0.0",
"xlsx": "0.18.5"
},
"devDependencies": {
"@types/jsdom": "^28.0.3",
"@types/node": "^20.19.0",
"@types/pg": "^8.20.0",
"@types/react": "19.2.14",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "5.1.3",
"typescript": "5.9.3",
"vite": "^7.3.6",
"vitest": "^3.2.7"
}
}