This repo contains a small and simplified boilerplate as alternative of other "fat" boilerplates, (automated with grunt) to start a project with angular and bootstrap in order to make easier and faster the template's developing.
Developed following the best practice for Angular.js (John Papa angular-styleguide)
Before cloning the repo be sure you have installed:
Then:
cd [folder path]
git clone https://github.com/ibbatta/grunt-frontend-boilerplate.git
From the directory of the project run yarn
(or npm install
);
Once everything is installed, use Grunt or Yarn from the terminal to start the build tasks.
The package.json exposes these tasks:
yarn start
or npm start
(start the project locally)yarn test
or npm run test
(start test and watch for changes)yarn build
or npm run build
(prepare the build pack)yarn clean
or npm run clean
(remove bower components and node modules)The Gruntfile.js exposes these tasks:
grunt clean
(clean / remove tmp, dist and bower's component folders)git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
This is just a personal boilerplate create for demonstration purpose only, it may or may not be a good fit for your project(s).