Skip to content

Commit

Permalink
NPM scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngeorgewright committed Jun 27, 2014
1 parent 8f231bd commit 73bfb7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -18,3 +18,10 @@ Installation
3. Make sure you have **only** given your app the ID `ng-app` (`<html id="ng-app" ng-app="my-app">`) when in IE7 by using conditional HTML comments.
4. Include this module in to your app `angular.module('my-app', ['ie7-support'])`.

Tests
-----

1. Install Karma: `[sudo] npm i -g karma-cli`
2. Run a single test: `npm test`
3. Or watch your files and run the tests when they change: `npm run watch-test`

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -11,7 +11,8 @@
"url": "https://github.com/johngeorgewright/angular-ie7-support/issues"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "karma start test/unit.conf.js --no-auto-watch --single-run",
"watch-test": "karma start test/unit.conf.js",
"postinstall": "bower install"
},
"keywords": [
Expand Down

0 comments on commit 73bfb7b

Please sign in to comment.