-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
78 lines (78 loc) · 2.41 KB
/
package.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "teaching-vacancies",
"type": "module",
"private": true,
"engine": {
"node": ">=18.0.0"
},
"browserslist": [
"last 2 major versions",
"IE 11",
"not dead"
],
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@sentry/browser": "8.37.1",
"@stimulus/polyfills": "^2.0.0",
"accessible-autocomplete": "^3.0.1",
"axios": "^1.7.7",
"classlist-polyfill": "^1.2.0",
"core-js": "^3.39.0",
"dfe-frontend": "^2.0.1",
"dompurify": "^3.2.0",
"govuk-frontend": "^5.7.1",
"leaflet": "^1.9.4",
"leaflet-gesture-handling": "^1.2.2",
"leaflet.markercluster": "^1.5.3",
"lodash": "^4.17.21",
"rails-ujs": "^5.2.8"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"concurrently": "^9.1.0",
"dotenv": "^16.4.5",
"esbuild": "^0.24.0",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.31.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"jsdom": "^25.0.1",
"postcss": "^8.4.48",
"sass": "^1.80.6",
"stylelint": "^15.11.0",
"stylelint-config-sass-guidelines": "^10.0.0",
"stylelint-config-standard": "^34.0.0",
"yaml": "^2.6.0"
},
"scripts": {
"build": "node esbuild.config.js",
"build:css": "sass ./app/assets/stylesheets/application.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules --quiet-deps --style compressed",
"test": "concurrently \"yarn run js:test\" \"yarn run js:lint\" \"yarn run sass:lint\"",
"js:test": "jest",
"js:test:coverage": "jest --coverage",
"js:lint": "eslint ./app/assets/javascript",
"sass:lint": "yarn stylelint app/assets/stylesheets/**/*.scss -q",
"backstop:execute": "backstop $CMD --config='backstop/backstop.config.cjs'",
"visual:test:reference": "CMD=reference yarn run backstop:execute",
"visual:test:run": "CMD=test yarn run backstop:execute",
"visual:test:approve": "CMD=approve yarn run backstop:execute",
"postvisual:test:approve": "node backstop/lib/clean.js"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"jest": {
"testMatch": [
"<rootDir>/app/assets/javascript/**/*.test.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/app/assets/javascript/lib/polyfill/*"
],
"testEnvironment": "jest-environment-jsdom"
}
}