Files
HIPCTF2/package.json
T
2026-07-22 19:56:31 +00:00

36 lines
1.3 KiB
JSON

{
"name": "hipctf",
"version": "0.1.0",
"private": true,
"description": "HIPCTF platform monorepo (NestJS API + Angular SPA)",
"workspaces": [
"backend",
"frontend"
],
"scripts": {
"build": "npm --workspace frontend run build && npm --workspace backend run build",
"start": "node backend/dist/main.js",
"start:dev": "npm --workspace backend run start:dev",
"dev": "concurrently --kill-others-on-fail --names \"backend,frontend\" --prefix-colors \"auto\" \"npm --workspace backend run start:dev\" \"npm --workspace frontend run start\"",
"dev:backend": "npm --workspace backend run start:dev",
"dev:frontend": "npm --workspace frontend run start",
"test": "jest --config tests/jest.config.js",
"test:backend": "jest --config tests/jest.config.js --selectProjects backend",
"test:frontend": "jest --config tests/jest.config.js --selectProjects frontend",
"rebuild-native": "npm rebuild better-sqlite3 --build-from-source",
"setup": "bash setup.sh"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/jsdom": "^28.0.3",
"@types/node": "^20.11.0",
"concurrently": "^9.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^29.1.1",
"sharp": "^0.35.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
}
}