forked from alphagov/govuk-design-system
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
123 lines (123 loc) · 4.61 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
{
"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": "npm run lint && 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": "^2.0.4",
"clipboard": "^2.0.11",
"govuk-frontend": "^5.2.0",
"iframe-resizer": "^4.3.9",
"lunr": "^2.3.9"
},
"devDependencies": {
"@axe-core/puppeteer": "^4.8.5",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@metalsmith/in-place": "^5.0.0",
"@metalsmith/layouts": "^2.7.0",
"@metalsmith/markdown": "^1.10.0",
"@metalsmith/permalinks": "^3.0.1",
"@metalsmith/postcss": "^5.4.1",
"@metalsmith/sass": "^1.9.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"autoprefixer": "^10.4.17",
"browser-sync": "3.0.2",
"connect": "^3.7.0",
"cross-env": "^7.0.3",
"editorconfig-checker": "^5.1.4",
"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.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"glob": "^10.3.10",
"gray-matter": "^4.0.2",
"highlight.js": "^11.9.0",
"html-validate": "^8.12.0",
"husky": "^9.0.11",
"hyperlink": "^5.0.4",
"jest": "^29.7.0",
"jest-axe": "^8.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^10.0.1",
"js-beautify": "^1.15.1",
"jstransformer-marked": "^1.4.0",
"jstransformer-nunjucks": "^1.2.0",
"lint-staged": "^15.2.2",
"marked": "^12.0.0",
"marked-gfm-heading-id": "^3.1.3",
"marked-highlight": "^2.1.1",
"marked-smartypants": "^1.1.6",
"metalsmith": "^2.6.2",
"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.2.5",
"puppeteer": "^22.3.0",
"rollup": "^4.12.0",
"sass-export": "^2.1.2",
"serve-static": "^1.15.0",
"sitemap": "^7.1.1",
"slash": "^3.0.0",
"slug": "^8.2.3",
"smartypants": "^0.2.2",
"standard": "^17.1.0",
"stylelint": "^16.2.1",
"stylelint-config-gds": "^2.0.0",
"stylelint-order": "^6.0.4",
"tap-mocha-reporter": "^5.0.4",
"typescript": "^5.3.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": "^20.11.20",
"@types/nunjucks": "^3.2.6",
"@types/slug": "^5.0.7"
},
"engines": {
"node": "^20.9.0",
"npm": "^10.1.0"
}
}