Change parcel build output from dist to docs

This commit is contained in:
atomiks
2018-02-26 00:25:34 +11:00
parent da84f0af71
commit 5e58098518
7 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@
"scripts": {
"dev": "nodemon -e md,js ./scripts/build.js & parcel",
"build": "node ./scripts/build.js && npm run prettier && npm run parcel",
"parcel": "parcel build index.html --public-url ./",
"parcel": "parcel build index.html -d docs/ --public-url ./",
"prettier": "prettier --single-quote --no-semi --print-width=100 ./js/index.js --write './src/**/*.js' './src/**/*.scss'"
},
"author": "atomiks",