mirror of
https://github.com/andrewgioia/home.git
synced 2024-12-22 09:19:55 +00:00
Updates npm publish script for cleaner file copying
This commit is contained in:
parent
e7e4fa961b
commit
21464e0c74
@ -14,7 +14,7 @@
|
||||
"dev": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist",
|
||||
"prod": "sass --no-source-map src/scss/theme.scss dist/site.css --style compressed && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist",
|
||||
"watch": "sass --no-source-map --watch src/scss/theme.scss dist/site.css",
|
||||
"publish": "cp -R dist/* /var/www/andrewgioia.com/"
|
||||
"publish": "rsync -av --delete dist/ /var/www/andrewgioia.com"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user