forked from zk-phi/zk-phi.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.54 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
{
"name": "zk-phi.github.io",
"scripts": {
"clean": "rm -r _site",
"develop": "eleventy --serve",
"build": "eleventy",
"opt": "npm run o:font && npm run o:js && npm run o:css",
"serve": "http-server -p 8000 _site",
"lighthouse": "npm run build && npm run opt && lhci autorun",
"o:js": "uglifyjs-folder -e -x .js _site/js -o _site/js",
"o:css": "cleancss -O2 --batch --batch-suffix '' _site/css/*.css",
"o:font": "npm run ss:generate:all && npm run ss:generate:index && npm run ss:apply:index",
"ss:generate:all": "glyphhanger --formats woff --subset fonts/* --output _site/fonts/ --suffix '' _site/**/*.html",
"ss:generate:index": "glyphhanger --formats woff --subset fonts/* --output _site/fonts/ --suffix '_subset' _site/index.html",
"ss:apply:index": "replace '\\.woff' '_subset.woff' _site/index.html"
},
"devDependencies": {
"@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-cache-assets": "^2.3.0",
"@11ty/eleventy-img": "^0.9.0",
"@dsquare-gbu/kuroshiro": "^1.1.2-iedev-1",
"@lhci/cli": "^0.7.2",
"clean-css-cli": "^5.3.0",
"fast-xml-parser": "^3.19.0",
"glyphhanger": "zk-phi/glyphhanger",
"html-minifier": "^4.0.0",
"http-server": "^0.12.3",
"kuroshiro-analyzer-kuromoji": "^1.1.0",
"markdown-it": "^12.1.0",
"replace": "^1.2.1",
"slugify": "^1.6.0",
"uglifyjs-folder": "^3.0.0"
},
"dependencies": {
"date-fns": "^2.28.0"
}
}