- html-validate su tutte le pagine; linkinator su astro preview (link, asset, CSS e ancore), con modalità --external per i siti esterni - e2e Playwright: struttura e metadati di ogni pagina, 404, navigazione, sottomenu, menu mobile, ancore del vecchio sito, nessuna richiesta esterna, nessun cookie, localStorage vuoto, mappa solo dopo il clic, funzionamento senza JavaScript, modulo di contatto - a11y: axe su tutte le pagine a 1440 e 390 px e negli stati interattivi, tastiera (skip link, sottomenu, menu mobile), focus visibile, testo al 200 %, reflow a 320 px, movimento ridotto - check-compliance.mjs: P.IVA, link legali, risorse sicure, segnaposto, JSON-LD, sitemap, robots, .htaccess, badge e servizi, uso di «commercialista», riferimento L. 4/2013, budget - fix: punti di interruzione in em, focus ciclico nel menu mobile, rel="noopener" sui link esterni del Markdown, numeri di telefono non spezzabili Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016zJ9ZWGKvoKoxYwbmnRKdJ
65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "sito-studio-grasso",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Sito web statico dello Studio Grasso — Studio Tributario e Societario (Montegrosso d'Asti e Asti)",
|
|
"license": "UNLICENSED",
|
|
"engines": {
|
|
"node": ">=22.22.3"
|
|
},
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview --host 127.0.0.1 --port 4321",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"check": "astro check",
|
|
"test:html": "html-validate \"dist/**/*.html\"",
|
|
"test:links": "node scripts/check-links.mjs",
|
|
"test:e2e": "playwright test --project=e2e",
|
|
"test:a11y": "playwright test --project=a11y",
|
|
"test:lighthouse": "lhci autorun --config=lighthouserc.cjs",
|
|
"test:compliance": "node scripts/check-compliance.mjs",
|
|
"test:package": "node scripts/check-package.mjs",
|
|
"test": "npm run test:html && npm run test:links && npm run test:e2e && npm run test:a11y && npm run test:compliance",
|
|
"verify": "npm run lint && npm run format:check && npm run check && npm run build && npm test && npm run test:lighthouse",
|
|
"package": "npm run build && node scripts/package.mjs && npm run test:package",
|
|
"icons": "node scripts/generate-icons.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/sitemap": "3.7.4",
|
|
"@fontsource-variable/fraunces": "5.3.0",
|
|
"@fontsource-variable/inter": "5.3.0",
|
|
"astro": "7.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "0.9.10",
|
|
"@axe-core/playwright": "4.14.0",
|
|
"@eslint/js": "10.0.1",
|
|
"@fontsource/fraunces": "5.3.0",
|
|
"@fontsource/inter": "5.3.0",
|
|
"@iconify-json/lucide": "1.2.144",
|
|
"@lhci/cli": "0.15.1",
|
|
"@playwright/test": "1.56.1",
|
|
"@types/node": "24.19.2",
|
|
"archiver": "8.0.0",
|
|
"astro-eslint-parser": "3.2.0",
|
|
"eslint": "10.12.0",
|
|
"eslint-plugin-astro": "3.2.1",
|
|
"globals": "17.13.0",
|
|
"html-validate": "11.16.2",
|
|
"htmlparser2": "12.0.0",
|
|
"linkinator": "8.1.0",
|
|
"opentype.js": "2.0.0",
|
|
"playwright": "1.56.1",
|
|
"playwright-core": "1.56.1",
|
|
"prettier": "3.9.10",
|
|
"prettier-plugin-astro": "1.1.1",
|
|
"sharp": "0.35.5",
|
|
"typescript": "6.0.3",
|
|
"typescript-eslint": "8.71.2"
|
|
}
|
|
}
|