-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
23 lines (23 loc) · 1.12 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
{
"name": "arcanapixel.com",
"version": "1.0.0",
"scripts": {
"dev": "serve src/",
"start": "serve dist/",
"minify:html": "html-minifier --minify-css true --minify-js true --collapse-whitespace --remove-comments --keep-closing-slash --file-ext html --input-dir src --output-dir dist",
"minify:css": "html-minifier --minify-css true --collapse-whitespace --remove-comments --file-ext css --input-dir src --output-dir dist",
"minify:js": "html-minifier --minify-js true --collapse-whitespace --remove-comments --file-ext js --input-dir src --output-dir dist",
"minify:images": "cp -r src/assets/images dist/assets/images && cp src/favicon.ico dist/favicon.ico",
"copy:data": "cp src/sitemap.xml dist/sitemap.xml && cp src/robots.txt dist/robots.txt",
"build": "rm -rf ./dist && npm run minify:html && npm run minify:css && npm run minify:js && npm run minify:images && npm run copy:data",
"deploy": "npm run build && vercel deploy --prod"
},
"keywords": [],
"author": "Hotay",
"license": "AGPL-3.0",
"description": "",
"devDependencies": {
"html-minifier": "^4.0.0",
"serve": "^14.2.4"
}
}