-
Notifications
You must be signed in to change notification settings - Fork 146
/
package.json
166 lines (166 loc) · 5.94 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "uswds-site",
"private": true,
"homepage": "https://github.com/uswds/uswds-site#readme",
"bugs": {
"url": "https://github.com/uswds/uswds-site/issues"
},
"license": "SEE LICENSE IN LICENSE.md",
"author": "18F",
"contributors": [
"Adam Biagianti <[email protected]>",
"Atul Varma <[email protected]>",
"Brian Hurst <[email protected]>",
"Erica Deahl <[email protected]>",
"Jeremia Kimelman <[email protected]>",
"John Donmoyer <[email protected]>",
"Julia Elman <[email protected]>",
"Katherine Garklavs <[email protected]>",
"Marco Segreto <[email protected]>",
"Maya Benari <[email protected]>",
"Roger Steve Ruiz <[email protected]>",
"Ryan Thurwell <[email protected]>",
"Shawn Allen <[email protected]>",
"Will Sullivan <[email protected]>",
"Yoz Grahame <[email protected]>"
],
"repository": {
"type": "git",
"url": "git+https://github.com/uswds/uswds-site.git"
},
"scripts": {
"axe": "node config/run-axe.js",
"build": "gulp build && bundle exec jekyll build",
"build-all-assets": "npm run build-fonts && npm run build-img && npm run build-js && npm run build-css",
"build-css": "gulp build-sass",
"build-css-components": "gulp build-sass-components",
"build-css-custom": "gulp build-sass-custom",
"build-css-dev": "gulp build-sass-dev",
"build-css-fonts": "gulp build-sass-fonts",
"build-next-css": "gulp build-next-sass",
"build-css-layout-grid": "gulp build-sass-layout-grid",
"build-css-utilities": "gulp build-sass-utilities",
"build-fonts": "gulp fonts",
"build-img": "gulp images",
"build-js": "gulp javascript",
"build-uswds": "gulp build-uswds-if-needed",
"check-contrast": "node ./utils/check-contrast.js",
"clean": "gulp clean-assets",
"crawl": "node config/crawl.js",
"federalist": "npx gulp build",
"lint": "gulp eslint scss-lint && npm run prettier:scss",
"prestart": "gulp build",
"proof": "bundle exec htmlproofer --assume-extension --disable-external --allow-hash-href --alt-ignore '/.*/' --file-ignore '/developers/' ./_site",
"serve": "npm run build-all-assets && bundle exec jekyll serve --drafts --future --incremental --livereload --host=localhost",
"serve:package": "npm run build-uswds && npm run serve",
"serve:local": "export LIBRARY_BASE_URL=\"http://localhost:3000\" && npm run serve",
"start": "bundle exec jekyll serve --drafts --future --host=localhost",
"test": "npx snyk test && npm run test:core",
"test:detached": "npm run start-detached && npm run test:core",
"test:core": "bundle exec rspec && npm run lint && npm run proof && npm run pa11y-ci:sitemap && npm run pa11y-ci:sitemap-mobile",
"test:ci": "npm run build-all-assets && npm run test:detached",
"test:full": "npm run startup && npm run test:detached && npm run test:stop",
"test:stop": "pkill -f jekyll",
"watch": "NODE_ENV=development nswatch",
"start-detached": "bundle exec jekyll serve --detach --host=localhost",
"startup": "npm install && bundle install && npm run build-uswds && npm run build-all-assets",
"pa11y-ci:sitemap": "pa11y-ci --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next/'",
"pa11y-ci:sitemap-mobile": "pa11y-ci --config .pa11yci--mobile --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next/'",
"pa11y-ci:sitemap-json": "pa11y-ci --json > pa11y-results.json --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next/'",
"prettier:scss": "npx prettier --write './css/**/*.scss'"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@uswds/uswds": "3.0.0",
"ansi-colors": "^4.1.1",
"autoprefixer": "^10.4.0",
"axe-core": "^4.3.5",
"browserify": "^17.0.0",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.10",
"chroma-js": "^2.1.0",
"chrome-launcher": "^0.14.1",
"chrome-remote-interface": "^0.31.0",
"colors": "^1.3.2",
"del": "^6.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"express": "^4.17.1",
"fancy-log": "^1.3.3",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-dart-scss": "^1.1.0",
"gulp-eslint": "^6.0.0",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-stylelint": "^13.0.0",
"gulp-svg-sprite": "^1.5.0",
"gulp-uglify": "^3.0.2",
"jquery": "^3.5.0",
"json-format": "^1.0.1",
"merge-stream": "^2.0.0",
"minimist": "^1.2.6",
"node-notifier": "^10.0.0",
"nswatch": "^0.2.0",
"pa11y-ci": "^2.4.2",
"postcss": "^8.3.11",
"postcss-csso": "^5.0.1",
"prettier": "^2.4.1",
"sass": "^1.43.4",
"simplecrawler": "^1.1.8",
"snyk": "^1.913.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^9.0.2",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-prettier": "^1.2.0",
"stylelint-scss": "^3.21.0",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"yamljs": "^0.3.0"
},
"watch": {
"./css/settings/**/*.scss": [
"build-css-dev"
],
"./css/uswds-components.scss": [
"build-css-components"
],
"./css/uswds-custom.scss": [
"build-css-custom"
],
"./css/_uswds-theme-custom-styles.scss": [
"build-css-custom"
],
"./css/uswds-fonts.scss": [
"build-css-fonts"
],
"./css/uswds-next.scss": [
"build-next-css"
],
"./css/uswds-utilities.scss": [
"build-css-utilities"
],
"./img": [
"build-img"
],
"./js/**/*.js": [
"build-js"
],
"./node_modules/uswds/src/stylesheets": [
"build-css-dev"
],
"./node_modules/uswds/src/fonts": [
"build-fonts"
],
"./node_modules/uswds/src/img": [
"build-img"
],
"./node_modules/uswds/src/js": [
"build-js"
]
},
"snyk": true
}