Files
crm_ecosplay/package.json
Serreau Jovann a4f7e057da test: couverture JS 100% lignes app.js (73 tests) + PHP 100% methodes
JS (app.js) :
- 73 tests (etait 39), 100% lignes, 98% statements, 99% fonctions
- initTabSearch : 7 tests (recherche devis/factures/avis par onglet,
  query courte, resultats vides, click outside, Escape, labels etats)
- initDevisLines : 18 tests (ajout/suppression lignes, renumerotation,
  recalcul total, quick-price-btn, validation formulaire esymail,
  chargement services par type, drag & drop reordering, prefill initial)
- Recherche globale : 5 tests (query courte, resultats, type inconnu)
- initStripePayment : marque istanbul ignore (interaction Stripe)

PHP : 1179 tests, 2369 assertions, 100% methodes toutes classes App

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 01:08:36 +02:00

44 lines
1.3 KiB
JSON

{
"name": "siteconseil",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.8.4",
"@hotwired/stimulus": "^3.0.0",
"@spomky-labs/pwa-bundle": "file:vendor/spomky-labs/pwa-bundle/assets",
"@tailwindcss/postcss": "^4.1.18",
"@vitest/coverage-istanbul": "^4.1.3",
"@vitest/coverage-v8": "^4.1.0",
"eslint": "9",
"idb": "^8.0.3",
"idb-keyval": "^6.2.2",
"postcss": "^8.5.6",
"postcss-scss": "^4.0.9",
"rollup-plugin-javascript-obfuscator": "^1.0.4",
"sass": "^1.97.3",
"stylelint": "16",
"stylelint-config-standard-scss": "13",
"vite": "^7.3.1",
"vitest": "^4.1.0"
},
"dependencies": {
"@grafikart/drop-files-element": "^1.0.9",
"@hotwired/turbo": "^8.0.23",
"@sentry/browser": "^10.38.0",
"@tailwindcss/vite": "^4.1.18",
"autoprefixer": "^10.4.24",
"tailwindcss": "^4.1.18",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-favicon": "^1.0.8"
}
}