forked from alphagov/govuk_publishing_components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.67 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
{
"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": {
"axe-core": "^4.10.0",
"govuk-frontend": "5.1.0",
"govuk-single-consent": "^3.0.9",
"sortablejs": "^1.15.2"
},
"devDependencies": {
"@percy/cli": "^1.29.1",
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.2.0",
"postcss": "^8.4.41",
"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"
}
}