-
Notifications
You must be signed in to change notification settings - Fork 232
/
package.json
124 lines (124 loc) · 4.63 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "govuk_design_system",
"private": true,
"description": "GOV.UK Design System",
"repository": {
"type": "git",
"url": "git+https://github.com/alphagov/govuk-design-system.git"
},
"author": "Government Digital Service developers",
"license": "MIT",
"bugs": {
"url": "https://github.com/alphagov/govuk-design-system/issues"
},
"homepage": "https://github.com/alphagov/govuk-design-system#readme",
"scripts": {
"postinstall": "npm ls --depth=0",
"build": "cross-env NODE_ENV=production node tasks/build.js",
"serve": "cross-env NODE_ENV=production DEBUG=build* node tasks/serve.js",
"start": "cross-env NODE_ENV=development DEBUG=build* node tasks/start.js",
"pretest": "npm run build",
"test": "jest",
"lint": "npm run lint:editorconfig && npm run lint:prettier && npm run lint:js && npm run lint:types && npm run lint:scss && npm run lint:html --ignore-scripts",
"prelint:html": "npm run build",
"lint:editorconfig": "editorconfig-checker",
"lint:html": "html-validate \"build/**/index.html\"",
"lint:js": "npm run lint:js:cli -- \"**/*.{cjs,js,md,mjs}\"",
"lint:js:cli": "eslint --cache --cache-location .cache/eslint --cache-strategy content --color --ignore-path .gitignore",
"lint:prettier": "npm run lint:prettier:cli -- \"**/*.{cjs,js,json,md,mjs,scss,yaml,yml}\"",
"lint:prettier:cli": "prettier --cache --cache-location .cache/prettier --cache-strategy content --check",
"lint:scss": "npm run lint:scss:cli -- \"**/*.{md,scss}\"",
"lint:scss:cli": "stylelint --cache --cache-location .cache/stylelint --cache-strategy content --color --ignore-path .gitignore --max-warnings 0",
"lint:types": "tsc --build tsconfig.json",
"check-links": "hyperlink --canonicalroot https://design-system.service.gov.uk/ --internal --recursive build/sitemap.xml | tee check-links.log | tap-mocha-reporter min",
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module"
},
"dependencies": {
"accessible-autocomplete": "^3.0.1",
"clipboard": "^2.0.11",
"govuk-frontend": "^5.7.1",
"iframe-resizer": "^4.4.5",
"lunr": "^2.3.9"
},
"devDependencies": {
"@axe-core/puppeteer": "^4.10.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@metalsmith/in-place": "^5.0.0",
"@metalsmith/layouts": "^2.7.0",
"@metalsmith/markdown": "^1.10.0",
"@metalsmith/permalinks": "^3.1.0",
"@metalsmith/postcss": "^5.4.1",
"@metalsmith/sass": "^1.11.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"autoprefixer": "^10.4.20",
"browser-sync": "3.0.3",
"connect": "^3.7.0",
"cross-env": "^7.0.3",
"editorconfig-checker": "^6.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.2",
"eslint-plugin-markdown": "^4.0.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"glob": "^11.0.0",
"gray-matter": "^4.0.2",
"highlight.js": "^11.10.0",
"html-validate": "^8.25.0",
"husky": "^9.1.6",
"hyperlink": "^5.0.4",
"jest": "^29.7.0",
"jest-axe": "^9.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^10.1.1",
"js-beautify": "^1.15.1",
"jstransformer-marked": "^1.4.0",
"jstransformer-nunjucks": "^1.2.0",
"lint-staged": "^15.2.10",
"marked": "^15.0.1",
"marked-gfm-heading-id": "^4.1.1",
"marked-highlight": "^2.2.1",
"marked-smartypants": "^1.1.9",
"metalsmith": "^2.6.3",
"metalsmith-canonical": "^1.2.0",
"multimatch": "^7.0.0",
"nunjucks": "^3.2.4",
"outdent": "^0.8.0",
"postcss-markdown": "^1.2.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"puppeteer": "^23.3.0",
"rollup": "^4.27.2",
"sass-export": "^2.1.2",
"serve-static": "^1.16.2",
"sitemap": "^8.0.0",
"slash": "^3.0.0",
"slug": "^9.1.0",
"smartypants": "^0.2.2",
"standard": "^17.1.2",
"stylelint": "^16.10.0",
"stylelint-config-gds": "^2.0.0",
"stylelint-order": "^6.0.4",
"tap-mocha-reporter": "^5.0.4",
"typescript": "^5.6.3"
},
"optionalDependencies": {
"@jest/environment": "^29.7.0",
"@types/browser-sync": "^2.29.0",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.9",
"@types/node": "^22.9.0",
"@types/nunjucks": "^3.2.6",
"@types/slug": "^5.0.9"
},
"engines": {
"node": "^22.11.0",
"npm": "^10.1.0"
}
}