2.1.3 • Published 7 years ago

atom-angular-add-event v2.1.3

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
7 years ago

atom-angular-add-event

Atom Angular 1.x Add event reusable component

Installation

  • Clone this repo
  • Run npm install webpack -g
  • Run npm install webpack-dev-server -g
  • Run npm install bower -g
  • From application root, run npm install

Running the component

  • Run webpack
  • Run webpack-dev-server --base-content
  • Navigate to http://localhost:8080/test/index.html in a browser

Running unit tests

  • Check karma.conf.js to select either Chrome or PhantomJS for run
  • Install karma-cli on your local by running npm install -g karma-cli
  • Run karma start

Using add event in microsites

  • add link to addEvent -
  • add link to app.bundle.js
  • to refresh button, add GA events inject AddEventService and call AddEventService.initialize(); in controller

Release add-event component

  • Run 'release-it'

Updating jsDocs documentation

  • Run 'npm run docs'
  • If you are creating a new subdirectory with additional js files with documentation, updates the scripts property in package.json to reflect these additions.