/
package.json
66 lines (66 loc) · 1.8 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
{
"name": "teaching-vacancies",
"private": true,
"engine": {
"node": ">=8.0.0"
},
"browserslist": [
"last 2 major versions",
"IE 11",
"not dead"
],
"dependencies": {
"@ministryofjustice/frontend": "^0.2.1",
"@rails/webpacker": "5.2.1",
"axios": "^0.21.1",
"classlist-polyfill": "^1.2.0",
"clipboard": "^2.0.7",
"es6-promise": "^4.2.8",
"govuk-frontend": "3.11.0",
"jquery": "^3.5.0",
"jsdom": "^16.2.2",
"rails-ujs": "^5.2.3",
"rollbar": "^2.21.0"
},
"devDependencies": {
"concurrently": "^6.0.0",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^1.2.1",
"stylelint": "^13.12.0",
"stylelint-config-sass-guidelines": "^7.1.0",
"stylelint-config-standard": "^20.0.0",
"webpack": "^4.44.2",
"webpack-dev-server": "^3.11.2"
},
"scripts": {
"server": "rails s",
"dev": "./bin/webpack-dev-server",
"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/frontend/src ./app/components/shared",
"sass:lint": "yarn stylelint app/frontend/**/*.scss -q"
},
"jest": {
"testMatch": [
"<rootDir>/app/frontend/src/**/*.test.js",
"<rootDir>/app/components/**/*.test.js"
],
"setupFilesAfterEnv": [
"<rootDir>/app/frontend/src/lib/testSetup.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/app/frontend/src/lib/polyfill/*"
],
"moduleNameMapper": {
"\\.scss$": "<rootDir>/app/frontend/src/__mocks__/style.js"
}
},
"resolutions": {
"serialize-javascript": "^3.1.0",
"webpack-dev-server/**/selfsigned": "^1.10.8"
}
}