/ngJS

AngularJS + Vanilla Javascript Seed

Primary LanguageCSSMIT LicenseMIT

ngJS is an AngularJS seed.

  • Framework: AngularJS
  • Language: Javascript
  • Template Engine: Jade
  • Dependency and Package Management: RequireJS, Almond, Bower
  • JS Task Runner: Grunt
  • Unit & E2E Test Frameworks: PhantomJS, Karma, Jasmine, Protractor

Dependencies

  • Install NodeJS: http://nodejs.org/
  • Check to see if npm was installed: npm -v
  • Install sass: npm install sass -g
  • Install compass: npm install compass -g
  • Install phantomjs: npm install phantomjs -g
  • Install bower: npm install bower -g
  • Install grunt-cli: npm install grunt-cli -g

Dev Dependencies

  • Install phantomjs: npm install phantomjs -g

Install

  • Install all dependencies: npm install
  • Install all JS libraries: bower install

Unit and E2E Tests

  • npm install webdriver-manager -g [Firefox, Chrome, IE only]
  • webdriver-manager update --standalone [Firefox, Chrome, IE only]
  • webdriver-manager start [Firefox, Chrome, IE only]
  • Run the tests: grunt tests

Run

  • grunt web