This repositroy provides you all necessary npm bundles to kickstart a modern but puristic frontend web project.
Following important bundles are included:
- Gulp
- Gulp is for automating some tasks like scss to css or es5 to es6 compilations/transpilations.
- Babel
- Babel is your JS transpiler.
- libsass
- libsass is your super fast SCSS compiler.
- thats it...
- Clone this repository:
$ git clone [email protected]:Khazl/frontend-puristic.git
- Move into the repository root directory (should contain the package.json).
- Install all necessary npm packages:
$ npm install
- Install Gulp globally
$ npm install gulp -g
- done!
Now you can run $ gulp
and start developing.
$ gulp
starts the local dev server with browsersync and the js and css watcher
$ gulp watch
starts the js and css watcher
$ gulp build
runs the js and css compilation
$ gulp js
runs the js compilation
$ gulp css
runs the css compilation
- js auto reload after compilation
- JS
- Fetch Polyfill: https://github.com/github/fetch
- Events: https://github.com/mroderick/PubSubJS
- Utilities: https://github.com/lodash/lodash