-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.34 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
{
"name": "kmjb-website",
"version": "1.0.0",
"description": "Kaustubh Badrike's personal website",
"main": "index.js",
"scripts": {
"minifyCss": "postcss ./css --dir ./dist --ext min.css",
"watchMinifyCss": "postcss -w ./css --dir ./dist --ext min.css",
"minifyHtml": "html-minifier index.html -o ./dist/index.html --collapse-whitespace --collapse-inline-tag-whitespace --conservative-collapse --remove-attribute-quotes --remove-comments --remove-redundant-attributes",
"minify": "npm run minifyHtml && npm run minifyCss",
"imgAssetsPwsh": "robocopy ./img ./dist/img /e",
"imgAssetsLinux": "cp -R ./img ./dist/img",
"refreshPwsh": "mkdir dist -Force",
"refreshLinux": "mkdir -p dist",
"buildPwsh": "npm run refreshPwsh && npm run minify && npm run imgAssetsPwsh",
"build": "npm run refreshLinux && npm run minify && npm run imgAssetsLinux"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LordKa0S/LordKa0S.github.io.git"
},
"author": "Kaustubh Badrike (https://kmjb.dev/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/LordKa0S/LordKa0S.github.io/issues"
},
"homepage": "https://github.com/LordKa0S/LordKa0S.github.io#readme",
"devDependencies": {
"cssnano": "^6.0.1",
"html-minifier": "^4.0.0",
"postcss": "^8.4.24",
"postcss-cli": "^10.1.0"
}
}