- Get useful notifications when something / compiling goes wrong (in pug, es6 or css)
- Precompiled es6 will automatically be compiled (babel, in the
jstask)
- Clone the git project locally
- Install ^v7 of Node.js
- In case you’ve already installed Node.js, you may break older Node applications/workflows with the latest version. So in that case I recommend to install
nwhich allows you to switch between Node versions. Runnpm install n --globalandn 6.2.0. From there you can just runnto switch between Node versions. - Also make sure your npm version is up to date. Take a look with
npm -v. Update withnpm i -g npmif necessary.
- In case you’ve already installed Node.js, you may break older Node applications/workflows with the latest version. So in that case I recommend to install
- Run
npm install gulp-cli --global - Run
npm installto install all node modules locally - Run
gulpto start the workflow (watch included). If you’re wondering what it's doing, rungulp --tasks. Once you’re done, rungulp --build --minifyto create a dist version.
... or create 1-2-3 even more tasks.
- Better notifications (nice, useful error messages)
- Integrate linting of stylus (+ checking css) and js
- Ideas..? Let me know at info@mellewynia.nl or @MelleWynia