Parcel
assembly for automating work processes
in the projects development.
Thanks to help of the gulp-gh-pages
module,
you can publish content from the dist
folder to GitHub-pages
Scripts:
npm start
- start the project in development mode and local servernpm run build
- assemble the project in production modenpm run watch
- Thewatch
command is similar tostart
, but does not start a dev server (only a HMR server).npm run clear
- remove directorydist
and cachenpm run deploy
- deployment to gh-pages
Use npm commands for install node modules:
npm i
- install this parcel templatenpm i parcel -D
- a module for building parcel assemblynpm i gh-pages -D
- Publish thedist
directory to the gh-pages on GitHub