chore: install husky, lint-staged and commitlint
This commit is contained in:
+7
-3
@@ -13,7 +13,7 @@
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:coverage:check": "jest --coverage --ci",
|
||||
"test:e2e": "cd e2e && npm test",
|
||||
"test:smoke": "playwright test --grep @smoke",
|
||||
"test:smoke": "cd e2e && npx playwright test --grep @smoke",
|
||||
"test:tier:fast": "cd e2e && TEST_TIER=fast npx playwright test --config=playwright.config.tiered.ts",
|
||||
"test:tier:standard": "cd e2e && TEST_TIER=standard npx playwright test --config=playwright.config.tiered.ts",
|
||||
"test:tier:deep": "cd e2e && TEST_TIER=deep npx playwright test --config=playwright.config.tiered.ts",
|
||||
@@ -27,8 +27,8 @@
|
||||
"test:security": "k6 run tests/security/sql-injection-test.js && k6 run tests/security/xss-test.js",
|
||||
"test:sql-injection": "k6 run tests/security/sql-injection-test.js",
|
||||
"test:xss": "k6 run tests/security/xss-test.js",
|
||||
"check:contrast": "tsx scripts/check-color-contrast.ts",
|
||||
"check:headings": "tsx scripts/check-heading-hierarchy.ts",
|
||||
"check:contrast": "tsx scripts/utils/check-color-contrast.ts",
|
||||
"check:headings": "tsx scripts/utils/check-heading-hierarchy.ts",
|
||||
"audit:performance": "node scripts/performance-audit.js",
|
||||
"audit:seo": "node scripts/seo-check.js",
|
||||
"audit:accessibility": "node scripts/accessibility-test.js",
|
||||
@@ -90,6 +90,8 @@
|
||||
"@babel/preset-env": "^7.29.0",
|
||||
"@babel/preset-react": "^7.28.5",
|
||||
"@babel/preset-typescript": "^7.28.5",
|
||||
"@commitlint/cli": "^20.5.0",
|
||||
"@commitlint/config-conventional": "^20.5.0",
|
||||
"@eslint/eslintrc": "^3.3.5",
|
||||
"@lhci/cli": "^0.15.1",
|
||||
"@tailwindcss/postcss": "^4",
|
||||
@@ -113,10 +115,12 @@
|
||||
"eslint-config-next": "^0.2.4",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"husky": "^9.1.7",
|
||||
"jest": "^30.2.0",
|
||||
"jest-environment-jsdom": "^30.2.0",
|
||||
"k6": "^0.0.0",
|
||||
"lighthouse": "^13.0.3",
|
||||
"lint-staged": "^16.4.0",
|
||||
"tailwindcss": "^4",
|
||||
"ts-jest": "^29.4.6",
|
||||
"tsx": "^4.21.0",
|
||||
|
||||
Reference in New Issue
Block a user