-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
56 lines (56 loc) · 1.49 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
{
"name": "publisher",
"description": "Publishing application for 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": [
"GOVUKAdmin"
],
"ignore": [
"app/assets/javascripts/vendor",
"spec/javascripts/helpers/jquery.simulate.drag-sortable.js"
]
},
"eslintConfig": {
"rules": {
"no-var": 0
}
},
"stylelint": {
"extends": "stylelint-config-gds/scss",
"ignoreFiles": [
"app/assets/stylesheets/vendor/**/*"
]
},
"devDependencies": {
"jasmine-browser-runner": "^2.5.0",
"jasmine-core": "^5.5.0",
"postcss": "^8.4.49",
"standardx": "^7.0.0",
"stylelint": "^15.11.0",
"stylelint-config-gds": "^1.1.0"
},
"dependencies": {
"mermaid": "11.4.1",
"paste-html-to-govspeak": "^0.4.0"
},
"resolutions": {
"stylelint/strip-ansi": "6.0.1",
"stylelint/string-width": "4.2.3"
}
}