forked from 18F/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.01 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
{
"name": "11ty-uswds-template",
"version": "0.0.2",
"description": "A 11ty UWDS template.",
"main": "index.js",
"scripts": {
"build": "npm run assets:build && npx @11ty/eleventy",
"assets:autoprefix": "postcss _site/assets/styles/*.css _site/assets/methods/styles/*.css -r --use autoprefixer",
"assets:build": "node ./config/buildAssets && npm run assets:autoprefix",
"assets:clean": "rimraf _site/assets",
"assets:refresh": "npm run assets:clean && npm run assets:build",
"assets:watch": "chokidar 'assets/' -c 'npm run assets:refresh' --polling",
"clean": "rimraf _site",
"dev": "npm run clean && npm-run-all -p dev:assets dev:serve",
"dev:clean": "npm run clean && npm run dev",
"dev:assets": "npm run assets:refresh && npm run assets:watch",
"dev:debug": "DEBUG=* npx @11ty/eleventy --serve --watch",
"dev:serve": "npx @11ty/eleventy --serve --watch",
"dev:cms": "npx netlify-cms-proxy-server",
"federalist": "npm run build",
"lint": "eslint .",
"pa11y-ci:sitemap": "sleep 10; pa11y-ci --sitemap http://localhost:8080/sitemap.xml --sitemap-exclude \"/*.pdf\" --sitemap-exclude \"/admin\" --sitemap-find \"^/\" --sitemap-replace \"http://localhost:8080/\"",
"serve": "npx @11ty/eleventy --serve",
"start": "npx @11ty/eleventy --serve",
"test": "echo \"Error: no test specified\" && exit 1",
"test:links": "npx check-html-links _site --ignore-link-pattern '**/TODO/' 2>&1 | tee /dev/stderr | grep ✅",
"test:links-internal": "npx check-html-links _site --ignore-link-pattern '**/TODO/'",
"test:html-validation": "html-validate _site/**/*.html",
"test:pa11y-ci": "npx start-server-and-test start 8080 pa11y-ci:sitemap",
"test:redirects": "npx mocha ./tests/meta-tag-tests.js"
},
"author": "",
"license": "CC0-1.0",
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"chai": "^4.4.1",
"check-html-links": "^0.2.4",
"chokidar-cli": "^3.0.0",
"eleventy-plugin-svg-sprite": "^1.3.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"html-validate": "^8.9.1",
"js-yaml": "^4.1.0",
"jsdom": "^22.1.0",
"markdown-it": "^12.3.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.1.6",
"mocha": "^10.2.0",
"netlify-cms": "^2.8.0",
"netlify-cms-proxy-server": "^1.3.23",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^3.1.0",
"postcss": "^8.4.33",
"postcss-cli": "^9.1.0",
"prettier": "3.2.4",
"rimraf": "^3.0.2",
"start-server-and-test": "^2.0.3"
},
"dependencies": {
"@11ty/eleventy-img": "^3.1.8",
"@uswds/uswds": "3.7.1",
"autoprefixer": "^10.4.17",
"esbuild": "^0.19.11",
"esbuild-sass-plugin": "^2.16.1",
"luxon": "^2.3.1",
"markdown-it-footnote": "^3.0.3",
"netlify-cms": "^2.10.192"
},
"mocha": {
"timeout": 15000
}
}