chore: Add possibility to deploy
- New npm scripts - New folder for deployment content - Currently using a fixed --pathprefix option with hippie as value - Add deploy to gitignore
This commit is contained in:
parent
d04e0e3174
commit
fd5f3ba89f
3 changed files with 6 additions and 1 deletions
|
|
@ -24,9 +24,11 @@
|
|||
"clean:report": "rm -rf report/*",
|
||||
"clean:test": "rm -rf test/*",
|
||||
"style:compile": "sass source/style:build/css --load-path=vendor",
|
||||
"style:deploy": "sass source/style:deploy/css --load-path=vendor",
|
||||
"style:watch": "sass --watch source/style:build/css --load-path=vendor",
|
||||
"build:new": "npm run clean:build && npx @11ty/eleventy && npm run style:compile",
|
||||
"build": "npx @11ty/eleventy && npm run style:compile",
|
||||
"deploy": "npm run clean:deploy && npx @11ty/eleventy --output=deploy --pathprefix=hippie && npm run style:deploy",
|
||||
"serve": "npm run style:watch & npx @11ty/eleventy --serve"
|
||||
},
|
||||
"private": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue