A simple boilerplate for Angular 1.X Directives and Components with ES6 + Karma + Webpack2
Angular 1.X is still a thing and it's used in a lot of projects across the planet. The goal of this project is to make developers one step closer to the Angular2 synthax, using the ES6 goodies, when it comes to generating new components and directives for open source.
Check out Angular Image Preloader
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See usage for notes on how to use the project on a live project.
- ^NodeJS 4.X
- ^AngularJS 1.2.X (^1.5.X if you want to use Component())
Step 1: Cloning the repo
$ git clone https://github.com/rafaelfragosom/angular-es6-boilerplate your-project-name
$ cd your-project-name/
Step 2: Install the dependencies
$ npm install
Or using Yarn
$ yarn install
Step 3: Edit these files to build your project correctly
package.json
src/
/index.js
/demo.js
/demo.spec.js
Running your project:
npm start
- Angular 1.X - The web framework this was built for
- Webpack 2 - Package Bundler
- Babel - ES6 to ES5
- ESLint - JavaScript Code Linter
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Rafael Fragoso - Initial work - rafaelfragosom
See also the list of contributors who participated in this project.
- Yeoman Generator
- Demo Page
This project is licensed under the MIT License - see the LICENSE file for details