-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.54 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.54 KB
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
{
"name": "tts-handbook",
"version": "3.0.0",
"description": "The TTS Handbook",
"scripts": {
"build": "eleventy",
"clean": "rm -rf _site",
"debug": "DEBUG=* eleventy --serve --incremental",
"lint": "prettier -w .",
"pages": "npm run build",
"serve": "npm run start",
"start": "eleventy --serve --incremental",
"test": "npm run test:prefixed-links && npm run test:internal-links && npm run test:html-validation && npm run test:spelling && npm run test:markdown && npm run test:deps",
"test:html-validation": "html-validate _site/**/*.html",
"test:internal-links": "node check-links.js",
"test:prefixed-links": "! (grep -Erl \"(?:\\]\\()\\s*(?:/|href=['\\\"]/|https://handbook\\.tts\\.gsa\\.gov)\" pages && echo \"ERROR: Internal links must use {% page \"page name\" %} to work correctly with Cloud.gov Pages previews. Fix the above pages.\")",
"test:spelling": "cspell --config ./cSpell.json \"pages/**/*.md\" --no-progress",
"test:linkinator": "linkinator _site --recursive --ignore-internal 'mailto:' --skip 'https://www.gsa.gov' --workers 10",
"test:deps": "node check-dependencies.js",
"podman:build": "podman-compose -f docker-compose.yml build",
"docker:build": "docker-compose build",
"podman:start": "podman-compose -f docker-compose.yml up",
"docker:start": "docker-compose up",
"docker:clean": "docker-compose down -v",
"podman:clean": "podman-compose -f docker-compose.yml down -v",
"test:markdown": "markdownlint pages/**/*.md"
},
"author": "",
"license": "CC0-1.0",
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-img": "^3.1.8",
"@uswds/uswds": "^3.13.0",
"autoprefixer": "^10.4.27",
"eleventy-plugin-svg-sprite": "^2.4.6",
"esbuild": "^0.27.3",
"esbuild-sass-plugin": "^3.6.0",
"glob": "^10.5.0",
"js-yaml": "^4.1.1",
"jsdom": "^21.1.2",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.3.1",
"markdownlint": "^0.40.0",
"postcss-cli": "^10.0.0",
"sharp": "^0.34.5"
},
"devDependencies": {
"cheerio": "^1.2.0",
"cspell": "^6.31.3",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.10.2",
"eslint-plugin-import": "^2.32.0",
"html-validate": "^7.16.0",
"linkinator": "^7.6.1",
"markdownlint-cli": "^0.47.0",
"node-gyp": "^12.2.0",
"prettier": "^2.8.8"
},
"prettier": {},
"pnpm": {
"overrides": {
"sharp": "0.34.5"
}
},
"engines": {
"node": ">=24.0.0"
}
}