-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 880 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"devDependencies": {
"cssnano": "^7.0.7",
"esbuild": "^0.25.5",
"html-minifier-terser": "^7.2.0",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-nesting": "^13.0.2",
"postcss-url": "^10.1.3",
"shx": "^0.4.0"
},
"scripts": {
"build:js": "esbuild index.js --bundle --minify --target=es2015 --outfile=docs/bundle.js",
"build:css": "postcss style.css --output docs/style.min.css",
"copy:assets": "shx cp -r img site.webmanifest favicon.ico favicon-16x16.png favicon-32x32.png apple-touch-icon.png android-chrome-192x192.png android-chrome-512x512.png docs/",
"copy:html": "shx cp *.html docs/",
"postprocess:html": "node scripts/postprocess-html.js",
"build": "npm run build:js && npm run build:css && npm run copy:assets && npm run copy:html && npm run postprocess:html"
}
}