498bb3a3c8
- Move CI/CD configs to config/ci/ directory - Reorganize scripts into categorized directories (deployment, monitoring, testing, utils) - Consolidate documentation into docs/ directory with proper structure - Update linting and testing configurations - Remove obsolete test reports and performance summaries - Add new documentation for code quality tools and contact form security - Improve project organization and maintainability - Fix lint-staged config to only lint JS/TS files - Disable react/react-in-jsx-scope rule for Next.js compatibility - Ignore scripts and test config directories in ESLint
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
ci:
|
|
collect:
|
|
numberOfRuns: 3
|
|
startServerCommand: npm run start
|
|
startServerReadyPattern: 'Local:'
|
|
url:
|
|
- http://localhost:3000/
|
|
- http://localhost:3000/about
|
|
- http://localhost:3000/services
|
|
- http://localhost:3000/products
|
|
- http://localhost:3000/cases
|
|
- http://localhost:3000/news
|
|
- http://localhost:3000/contact
|
|
settings:
|
|
preset: desktop
|
|
onlyCategories:
|
|
- performance
|
|
- accessibility
|
|
- best-practices
|
|
- seo
|
|
|
|
assert:
|
|
assertions:
|
|
categories:performance:
|
|
- error
|
|
- minScore: 0.9
|
|
categories:accessibility:
|
|
- error
|
|
- minScore: 0.9
|
|
categories:best-practices:
|
|
- error
|
|
- minScore: 0.9
|
|
categories:seo:
|
|
- error
|
|
- minScore: 0.9
|
|
first-contentful-paint:
|
|
- error
|
|
- maxNumericValue: 2000
|
|
largest-contentful-paint:
|
|
- error
|
|
- maxNumericValue: 3000
|
|
cumulative-layout-shift:
|
|
- error
|
|
- maxNumericValue: 0.1
|
|
total-blocking-time:
|
|
- error
|
|
- maxNumericValue: 300
|
|
speed-index:
|
|
- error
|
|
- maxNumericValue: 3000
|
|
|
|
upload:
|
|
target: temporary-public-storage
|
|
|
|
settings:
|
|
output: html
|
|
outputPath: lighthouse-reports
|