-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
45 lines (45 loc) · 1.22 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
{
"name": "email-alert-frontend",
"description": "GOV.UK frontend for creating and managing email subscriptions.",
"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,
"jasmine": true
},
"globals": [
"GOVUK"
]
},
"eslintConfig": {
"rules": {
"no-var": 0
}
},
"stylelint": {
"extends": "stylelint-config-gds/scss"
},
"dependencies": {
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.4.0"
},
"devDependencies": {
"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"
}
}