-
Notifications
You must be signed in to change notification settings - Fork 302
/
package.json
102 lines (102 loc) · 4.14 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
{
"name": "digitalgov.gov",
"version": "2.0.0",
"description": "Guidance for making a better digital government",
"main": "gulpfile.js",
"scripts": {
"federalist": "npm install && npm run mount-s3 && export NODE_ENV=production && gulp buildAssets",
"hugo": "export $(grep -v '^#' .env | xargs) && hugo serve --bind='0.0.0.0'",
"lint:json": "find public/**/v1/json/index.json -print0 | xargs -0I {} jsonlint '{}'",
"lint:js": "eslint './themes/digital.gov/src/js/*.js' './config/typescript/**/*.ts'",
"lint:js:fix": "eslint --fix './themes/digital.gov/src/js/*.js' './config/typescript/**/*.ts'",
"lint:markdown": "markdownlint --config ./.markdown-lint.yml ./content/**/*.md --ignore './content/apis/*.md'",
"lint:markdown:fix": "markdownlint --fix --config ./.markdown-lint.yml ./content/**/*.md --ignore './content/apis/*.md'",
"lint:styles": "npx stylelint ./themes/**/*.scss",
"lint:styles:fix": "npx stylelint ./themes/**/*.scss --fix",
"local-build": "npm run typescript:build && gulp buildAssets && gulp watch",
"prepare": "husky install",
"prettier:styles": "npx prettier -c ./themes/**/*.scss",
"prettier:styles:fix": "npx prettier -w ./themes/**/*.scss",
"prettier:js": "npx prettier -c 'themes/digital.gov/src/js/*.js' 'config/typescript/**/*.ts'",
"prettier:js:fix": "npx prettier -w 'themes/digital.gov/src/js/*.js' 'config/typescript/**/*.ts'",
"prettier:templates": "npx prettier -c ./themes/**/*.html",
"prettier:templates:fix": "npx prettier -w ./themes/**/*.html",
"start": "npm-run-all --parallel local-build hugo workflow",
"test:htmlproofer": "htmlproofer ./public --allow-hash-href --check-html --empty-alt-ignore --disable-external",
"test:pa11y": "npx pa11y-ci --config .pa11yci --sitemap https://digital.gov/sitemap.xml --sitemap-find https://digital.gov --sitemap-replace localhost:1313 --sitemap-exclude '/201*|styleguide|images|img|join|apis'",
"workflow": "npx netlify-cms-proxy-server",
"typescript:build": "tsc",
"type-check": "tsc --noEmit",
"lint-fix-all": "npm run lint:js:fix && npm run lint:styles:fix && npm run prettier:js:fix && npm run prettier:styles:fix && npm run prettier:templates:fix && npm run lint:markdown:fix",
"mount-s3": "node scripts/mount-s3.js"
},
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GSA/digitalgov.gov.git"
},
"license": "",
"dependencies": {
"@aws-sdk/client-s3": "^3.632.0",
"@evolvingriley/file-upload": "0.1.6",
"@prantlf/jsonlint": "^14.0.3",
"@uswds/uswds": "^3.7.1",
"autoprefixer": "^10.4.16",
"del": "^6.1.1",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"gulp": "^5.0.0",
"gulp-concat": "^2.6.1",
"gulp-postcss": "^9.1.0",
"gulp-replace": "^1.1.4",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-svg-sprite": "^2.0.3",
"gulp-uglify": "^3.0.2",
"list.js": "^2.3.1",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"postcss-csso": "^6.0.1",
"s3fs": "^2.5.0",
"sass": "^1.69.7",
"sass-embedded": "^1.69.7",
"sharp": "^0.33.3",
"terser-webpack-plugin": "^5.3.10",
"webpack-stream": "^7.0.0"
},
"devDependencies": {
"@18f/identity-stylelint-config": "^2.0.0",
"@types/mime-types": "^2.1.4",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.8.3",
"eslint-plugin-prettier": "^4.2.1",
"gulp-rename": "^2.0.0",
"gulp-responsive": "3.0.1",
"gulp-strip-css-comments": "^3.0.0",
"gulp-tap": "^2.0.0",
"husky": "^8.0.3",
"image-size": "^1.1.1",
"markdownlint-cli": "^0.33.0",
"postcss": "^8.4.38",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"stylelint": "^15.11.0",
"stylelint-order": "^6.0.4",
"vinyl-paths": "^3.0.1"
},
"overrides": {
"gulp-responsive": {
"sharp": "0.32.6"
},
"glob-parent": "6.0.2",
"eslint": {
"file-entry-cache": "8.x"
}
}
}