- Vitest (cohérent avec le back) pour les tests de logique/services purs ; vitest-setup charge @angular/compiler (fallback JIT requis pour importer les symboles @angular/* partiellement compilés) - error.service.spec.ts : 6 cas couvrant toMessage() - script test -> vitest run (+ test:watch). Tests de composants TestBed = plugin Angular dédié, hors périmètre pour l'instant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@datacat/front-public",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"build:prod": "ng build --configuration production",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@angular/animations": "^19.0.0",
|
|
"@angular/common": "^19.0.0",
|
|
"@angular/compiler": "^19.0.0",
|
|
"@angular/core": "^19.0.0",
|
|
"@angular/forms": "^19.0.0",
|
|
"@angular/platform-browser": "^19.0.0",
|
|
"@angular/platform-browser-dynamic": "^19.0.0",
|
|
"@angular/router": "^19.0.0",
|
|
"@datacat/shared": "workspace:*",
|
|
"@gouvfr/dsfr": "^1.13.0",
|
|
"rxjs": "^7.8.0",
|
|
"tslib": "^2.8.0",
|
|
"zone.js": "^0.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "^19.0.0",
|
|
"@angular/cli": "^19.0.0",
|
|
"@angular/compiler-cli": "^19.0.0",
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/node": "^22.0.0",
|
|
"angular-eslint": "^19.8.1",
|
|
"eslint": "^9.39.4",
|
|
"jsdom": "^29.1.1",
|
|
"sass": "^1.83.0",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.62.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|