-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
94 lines (94 loc) · 3.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "nhsuk-frontend",
"version": "8.1.1",
"description": "NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.",
"scripts": {
"prepare": "gulp bundle",
"build": "gulp build",
"start": "gulp",
"test": "npm run lint && npm run jest:ci",
"lint": "npm run lint:js && npm run lint:css && npm run lint:html && npm run prettier",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"lint:js": "eslint -c ./tests/linters/.eslintrc.js packages/components/**/*.js",
"lint:js:fix": "eslint --fix -c ./tests/linters/.eslintrc.js packages/components/**/*.js",
"lint:css": "stylelint -f verbose --config ./tests/linters/.stylelintrc.js packages/**/*.scss",
"lint:css:fix": "stylelint --fix -f verbose --config ./tests/linters/.stylelintrc.js packages/**/*.scss",
"lint:html": "htmlhint --config ./tests/linters/.htmlhintrc ./dist/app/components/**/*.html",
"backstop:interactive": "backstop remote --config ./tests/backstop/backstop.js",
"backstop:ref": "concurrently \"npm start\" \"wait-on http://localhost:3000 && backstop --config=./tests/backstop/backstop.js reference --docker\"",
"backstop:test": "concurrently \"npm start\" \"wait-on http://localhost:3000 && backstop --config=./tests/backstop/backstop.js test --docker\"",
"backstop:ci": "start-server-and-test start http://0.0.0.0:3000 backstop:citest",
"backstop:citest": "backstop --config=./tests/backstop/backstop.js test --docker",
"backstop:approve": "backstop --config=./tests/backstop/backstop.js approve",
"backstop:clean": "rm -rf tests/backstop/bitmaps_test/*",
"build-gh-pages": "gulp bundle && BASE_URL='/nhsuk-frontend/' gulp docs:build",
"build-gh-release": "gulp zip",
"jest:dev": "jest --watch",
"jest:ci": "jest"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.9",
"@babel/preset-env": "^7.18.6",
"babel-loader": "^8.2.5",
"backstopjs": "^6.1.0",
"concurrently": "^7.2.2",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-postcss": "^4.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"follow-redirects": "^1.15.6",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-clean-css": "^4.3.0",
"gulp-connect": "^5.7.0",
"gulp-nunjucks": "^5.1.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"gulp-zip": "^5.1.0",
"htmlhint": "^1.1.4",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-environment-puppeteer": "^7.0.0",
"minimist": "^1.2.6",
"nunjucks": "^3.2.3",
"prettier": "^2.7.1",
"puppeteer": "^18.1.0",
"sass": "^1.53.0",
"start-server-and-test": "^1.14.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0",
"wait-on": "^6.0.1",
"webpack-stream": "^7.0.0"
},
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": "./tests/linters/.eslintrc.js"
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
},
"files": [
"dist",
"packages"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nhsuk/nhsuk-frontend.git"
},
"homepage": "https://nhsuk.github.io/nhsuk-frontend/",
"bugs": {
"url": "https://github.com/nhsuk/nhsuk-frontend/issues"
},
"license": "MIT"
}