-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
31 lines (31 loc) · 1.11 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
{
"name": "gycwest-website-source",
"version": "1.0.0",
"description": "",
"repository": {
"type": "git",
"url": "git+https://github.com/GYCWest/website-source.git"
},
"author": "Ricky Curtice",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/GYCWest/website-source/issues"
},
"homepage": "https://github.com/GYCWest/website-source#readme",
"private": true,
"scripts": {
"build": "npm run build:hugo",
"build:favicon": "npx -p cli-real-favicon real-favicon generate faviconDescription.json faviconData.json static",
"build:hugo": "build_hugo() { hugo --destination \"$@\" || echo \"Please specify destination folder.\"; }; build_hugo",
"build:icon": "npx svgo --multipass -i master_images/logo_2021-01.svg -o static/img/logo_2021-01.svg",
"prepare": "npm run build:icon && npm run build:favicon",
"update:favicon": "npx -p cli-real-favicon real-favicon check-for-update --fail-on-update faviconData.json",
"start": "hugo server --baseURL 0.0.0.0 --bind 0.0.0.0 --port 5341 --watch --cleanDestinationDir"
},
"engines": {
"node": "18"
},
"devDependencies": {
"hugo-bin": "^0.71.1"
}
}