-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.1 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"engines": {
"node": ">=22.0.0 <26.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"lint:scss": "stylelint '**/*.scss' --config config/stylelintrc.json",
"lint:scss:fix": "stylelint '**/*.scss' --fix --config config/stylelintrc.json",
"format:scss": "prettier --write '**/*.scss' --config config/prettierrc.json",
"build": "RUBYOPT=\"-W:no-deprecated\" bundle exec jekyll build",
"repomix": "bash scripts/repomix/repomix-regen.sh",
"serve": "RUBYOPT=\"-W:no-deprecated\" bundle exec jekyll serve",
"test": "jest",
"test:watch": "jest --watch",
"test:e2e": "playwright test --config config/playwright.config.js",
"test:performance": "node tests/performance/lighthouse.js",
"test:links": "node tests/links/check-links.mjs",
"test:performance:clean": "find tests/performance/results -name 'lighthouse-results-*.json' -type f | sort -r | tail -n +4 | xargs rm -f",
"test:all": "npm run build && npm run test && npm run test:e2e && npm run test:performance",
"test:ci": "npm run build && jest --ci --coverage && playwright test --config config/playwright.config.js --reporter=github"
},
"devDependencies": {
"@playwright/test": "^1.40.0",
"audit-ci": "^7.1.0",
"axe-core": "^4.8.3",
"axe-playwright": "^2.1.0",
"chrome-launcher": "^1.1.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"js-yaml": "^4.1.1",
"lighthouse": "^12.6.1",
"puppeteer": "^24.19.0",
"stylelint": "^16.23.1",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-standard-scss": "^15.0.1",
"stylelint-scss": "^6.12.1",
"wait-on": "^9.0.4"
},
"overrides": {
"glob": "^10.4.5",
"inflight": "npm:@bokuweb/inflight@^2.0.0",
"minimatch": ">=10.2.1",
"test-exclude": "^7.0.1"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
],
"testMatch": [
"<rootDir>/tests/**/*.test.js"
],
"collectCoverageFrom": [
"assets/js/**/*.js",
"!assets/js/vendor/**",
"!node_modules/**"
],
"coverageDirectory": "tests/coverage"
}
}