This repository can be used to set up a basic web project using
To use this package you need NodeJS and Bower to set up / install the necessary libraries and files.
###Clone
- Clone the repo:
git clone https://github.com/Quaese/basic-angular-polymer-project.git
.
###Install/Setup Install NodeJS modules
npm install
Install libraries with Bower
bower install
##Gulp After the installation process the default gulp tast should be started. That task builds all minified files and starts a watch task.
gulp
There are some more gulp tasks
gulp less
- compiles LESS files to CSSgulp compress-less
- compiles LESS files to CSS and minifies these filesgulp minify-css
- minifies CSS filesgulp minify-sourcemaps-css
- minifies CSS files and includes the sourcemapsgulp compress-js
- minifies JavaScript filesgulp compress-sourcemaps-js
- minifies JavaScript files and includes the sourcemapsgulp watch-less
- watches LESS files and starts compiling and minifying if a change event firesgulp watch-js
- watches JavaScript files and starts minifying if a change event firesgulp build
- minifies all filesgulp default
- executes build, watch-less and watch-js
For more information and help type
gulp help