forked from GSA/uswds-hugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.76 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
{
"name": "hugo-uswds",
"version": "2.0.0",
"description": "Hugo theme based on the United States Web Design System",
"main": "index.js",
"scripts": {
"test": "npm run prepare && npm run serve:test",
"serve:test": "cd website && hugo && (npx http-server public -p 8000 & sleep 5 && pa11y-ci && kill $(lsof -t -i:8000))",
"build:website": "cd website && hugo --minify",
"copy": "npm run -s copy:module:js && npm run -s copy:image-map-resizer:js && npm run -s copy:jquery:js",
"uswds": "npx gulp update",
"copy:module:js": "npx cpy '_bundles/*.min.{js,js.map}' dist/js",
"copy:image-map-resizer:js": "npx cpy node_modules/image-map-resizer/js/imageMapResizer.min.js dist/js --flat",
"copy:jquery:js": "npx cpy 'node_modules/jquery/dist/jquery.min.{js,map}' dist/js --flat",
"build": "npx rimraf ./build && npx tsc",
"bundle": "npx rimraf ./build _bundles && npx tsc && npx webpack --mode production",
"clean": "npx rimraf ./build ./dist ./_bundles",
"prepare": "npm run clean && npm run bundle && npm run uswds && npm run copy"
},
"author": "David Waltermire <[email protected]>",
"license": "CC0-1.0",
"homepage": "https://github.com/GSA/uswds-hugo",
"repository": {
"type": "git",
"url": "https://github.com/GSA/uswds-hugo"
},
"devDependencies": {
"@types/jquery": "^3.5.32" ,
"@uswds/compile": "^1.2.0",
"cpy-cli": "^5.0.0",
"pa11y-ci": "^3.1.0",
"rimraf": "^5.0.1",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.4.4",
"typescript": "^5.2.1",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"http-server": "^14.1.1"
},
"dependencies": {
"@uswds/uswds": "^3.6.0",
"image-map-resizer": "^1.0.10",
"jquery": "^3.6.4",
"mermaid": "^10.9.3"
}
}