-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
97 lines (97 loc) · 3.53 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
95
96
97
{
"name": "nhsuk-frontend",
"version": "9.1.0",
"description": "NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.",
"engines": {
"node": ">=20.0.0"
},
"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.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"babel-loader": "^9.1.3",
"backstopjs": "^6.3.23",
"concurrently": "^8.2.2",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-postcss": "^4.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"follow-redirects": "^1.15.6",
"gulp": "^5.0.0",
"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": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-puppeteer": "^10.0.1",
"minimist": "^1.2.8",
"nunjucks": "^3.2.4",
"prettier": "3.3.3",
"puppeteer": "^22.12.1",
"sass": "^1.77.6",
"start-server-and-test": "^2.0.4",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.21.0",
"wait-on": "^7.2.0",
"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"
}