-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
59 lines (59 loc) · 1.73 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
{
"private": true,
"name": "govuk_publishing_components",
"license": "MIT",
"scripts": {
"lint:js": "standardx 'app/assets/javascripts/**/*.js' 'spec/javascripts/**/*.js'",
"lint:scss": "stylelint app/assets/stylesheets/",
"lint": "yarn run lint:js && yarn run lint:scss",
"jasmine:prepare": "bundle exec rake app:assets:clobber app: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": {
"ignore": [
"app/assets/javascripts/component_guide/vendor/**/*.js",
"app/assets/javascripts/govuk_publishing_components/vendor/**/*.js",
"spec/javascripts/helpers/*.js",
"spec/javascripts/vendor/*.js"
]
},
"eslintConfig": {
"rules": {
"no-var": 0
}
},
"stylelint": {
"extends": [
"stylelint-config-gds/scss",
"stylelint-stylistic/config"
],
"rules": {
"stylistic/number-leading-zero": null,
"stylistic/max-line-length": 160,
"stylistic/block-closing-brace-newline-after": "never-single-line"
}
},
"dependencies": {
"accessible-autocomplete": "^3.0.1",
"axe-core": "^4.10.1",
"chartkick": "^5.0.1",
"govuk-frontend": "5.7.1",
"govuk-single-consent": "^3.0.9",
"sortablejs": "^1.15.3"
},
"devDependencies": {
"@percy/cli": "^1.30.2",
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.4.0",
"postcss": "^8.4.47",
"standardx": "^7.0.0",
"stylelint": "^15.11.0",
"stylelint-config-gds": "^1.1.1",
"stylelint-stylistic": "^0.4.5"
},
"resolutions": {
"stylelint/strip-ansi": "6.0.1",
"stylelint/string-width": "4.2.3"
}
}