-
Notifications
You must be signed in to change notification settings - Fork 311
/
package.json
84 lines (84 loc) · 3.33 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
{
"name": "18f.gsa.gov",
"version": "0.0.2",
"description": "The 18F website and blog",
"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:list-files": "PA11Y_SCAN=true npx @11ty/eleventy",
"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/\"",
"precommit": "npm run test && npm run lint && rm -rf _site && npm run build && npm run test:html-validation && npm run test:links",
"serve": "npx @11ty/eleventy --serve",
"start": "npx @11ty/eleventy --serve",
"test": "mocha \"test/**/*_test.js\"",
"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"
},
"author": "",
"license": "CC0-1.0",
"devDependencies": {
"@uswds/compile": "^1.2.0",
"chai": "^4.5.0",
"check-html-links": "^0.2.4",
"chokidar-cli": "^3.0.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"html-validate": "^8.24.2",
"jsdom": "^22.1.0",
"mocha": "^10.8.2",
"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.47",
"postcss-cli": "^9.1.0",
"prettier": "3.3.3",
"rimraf": "^3.0.2",
"start-server-and-test": "^2.0.8"
},
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-img": "^3.1.8",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@uswds/uswds": "3.9.0",
"autoprefixer": "^10.4.19",
"csv-parse": "^5.5.6",
"eleventy-plugin-embed-twitter": "^1.4.1",
"eleventy-plugin-shiki-twoslash": "^1.1.3",
"eleventy-plugin-svg-sprite": "^2.0.0",
"esbuild": "^0.24.0",
"esbuild-sass-plugin": "^3.3.1",
"glob": "^9.0.0",
"gulp": "^5.0.0",
"js-yaml": "^4.1.0",
"luxon": "^2.3.1",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.2.0",
"markdown-it-footnote": "^3.0.3",
"netlify-cms": "^2.10.192",
"string": "^3.3.3"
},
"mocha": {
"timeout": 15000
}
}