chore: add audit and test scripts to package.json
This commit is contained in:
+13
-1
@@ -6,7 +6,16 @@
|
|||||||
"dev": "next dev -p 3000",
|
"dev": "next dev -p 3000",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start -p 3000",
|
"start": "next start -p 3000",
|
||||||
"lint": "eslint"
|
"lint": "eslint",
|
||||||
|
"test": "playwright test",
|
||||||
|
"test:smoke": "playwright test --grep @smoke",
|
||||||
|
"test:report": "allure generate test-results/allure-results && allure open",
|
||||||
|
"audit:performance": "node scripts/performance-audit.js",
|
||||||
|
"audit:seo": "node scripts/seo-check.js",
|
||||||
|
"audit:accessibility": "node scripts/accessibility-test.js",
|
||||||
|
"audit:forms": "node scripts/form-validation.js",
|
||||||
|
"audit:all": "./scripts/run-all-tests.sh",
|
||||||
|
"report:generate": "node scripts/generate-test-report.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/g2": "^5.4.8",
|
"@antv/g2": "^5.4.8",
|
||||||
@@ -27,13 +36,16 @@
|
|||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@axe-core/playwright": "^4.11.1",
|
||||||
"@tailwindcss/postcss": "^4",
|
"@tailwindcss/postcss": "^4",
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "^19",
|
"@types/react": "^19",
|
||||||
"@types/react-dom": "^19",
|
"@types/react-dom": "^19",
|
||||||
|
"chrome-launcher": "^1.2.1",
|
||||||
"eslint": "^10.0.2",
|
"eslint": "^10.0.2",
|
||||||
"eslint-config-next": "^0.2.4",
|
"eslint-config-next": "^0.2.4",
|
||||||
|
"lighthouse": "^13.0.3",
|
||||||
"tailwindcss": "^4",
|
"tailwindcss": "^4",
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user