Seed Project (Kick Ass Project) for the development of front-end javascript applications using yarn and grunt. The project is pre-configured with the following grunt modules:
- Connect: Static web server.
- Proxy: Grunt Connect support for proxying API calls during development.
- Open: Open urls and files from a grunt task.
- Sass: Compile Sass to CSS.
- Copy: Copy files and folders.
- Uglify: Minify files with UglifyJS.
- Concat: Concatenate files.
- Remove: Remove directory and files.
- String-replace: Replace strings on files by using string or regex patters.
- Usebanner: Adds a simple banner to files.
- Watch: Run tasks whenever watched files change.
First install all the tools
$ npm install -g yarn
$ npm install -g grunt-cli
and then download all the 3rd party library and tools with yarn
$ yarn install
the 3rd party library and dev tools should be in node_modules
.
To compile and start the application in livereload mode :
$ grunt serve
If you only want to compile the application
$ grunt
The compiled application code is in dist
If you've found a bug or have a great idea for new feature let me know by adding your suggestion to issues list.