forked from GSA-TTS/handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.8 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
71
72
73
74
75
{
"name": "tts-handbook",
"version": "3.0.0",
"description": "The TTS Handbook",
"scripts": {
"build": "eleventy",
"clean": "rm -rf _site",
"debug": "DEBUG=* eleventy --serve --incremental",
"format": "prettier -w .",
"lint": "npm run lint:format && npm run lint:js",
"lint:fix": "prettier -w . && eslint check-*.js .eleventy.js js config _data/layout.js --fix",
"lint:format": "prettier -c .",
"lint:js": "eslint check-*.js .eleventy.js js config _data/layout.js",
"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": "^3.1.6",
"@11ty/eleventy-img": "^3.1.8",
"@uswds/uswds": "^3.13.0",
"autoprefixer": "^10.5.0",
"eleventy-plugin-svg-sprite": "^2.4.6",
"esbuild": "^0.28.0",
"esbuild-sass-plugin": "^3.7.0",
"glob": "^10.5.0",
"js-yaml": "^4.1.1",
"jsdom": "^29.1.1",
"markdown-it": "^14.2.0",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.5.0",
"markdownlint": "^0.40.0",
"postcss": "^8.5.15",
"postcss-cli": "^10.0.0",
"sharp": "^0.34.5"
},
"devDependencies": {
"cheerio": "^1.2.0",
"cspell": "^8.2.0",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"globals": "^16.0.0",
"html-validate": "^7.16.0",
"linkinator": "^7.6.1",
"markdownlint-cli": "^0.48.0",
"node-gyp": "^12.3.0",
"prettier": "^2.8.8"
},
"prettier": {},
"pnpm": {
"overrides": {
"sharp": "0.34.5"
}
},
"engines": {
"node": ">=24.0.0"
}
}