-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
47 lines (47 loc) · 1.26 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
{
"name": "finder-frontend",
"description": "Finder Frontend renders search (and other pages) on GOV.UK",
"private": true,
"author": "Government Digital Service",
"license": "MIT",
"scripts": {
"lint": "yarn run lint:js && yarn run lint:scss",
"lint:js": "standardx 'app/assets/javascripts/**/*.js' 'spec/javascripts/**/*.js'",
"lint:scss": "stylelint app/assets/stylesheets/",
"jasmine:prepare": "RAILS_ENV=test bundle exec rails assets:clobber assets:precompile",
"jasmine:ci": "yarn run jasmine:prepare && yarn run jasmine-browser-runner runSpecs",
"jasmine:browser": "yarn run jasmine:prepare && yarn run jasmine-browser-runner"
},
"standardx": {
"env": {
"browser": true,
"jquery": true,
"jasmine": true
},
"globals": [
"GOVUK"
],
"ignore": [
"spec/javascripts/vendor"
]
},
"eslintConfig": {
"rules": {
"no-var": 0
}
},
"stylelint": {
"extends": "stylelint-config-gds/scss"
},
"devDependencies": {
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.5.0",
"standardx": "^7.0.0",
"stylelint": "^15.11.0",
"stylelint-config-gds": "^1.1.1"
},
"resolutions": {
"stylelint/strip-ansi": "6.0.1",
"stylelint/string-width": "4.2.3"
}
}