summaryrefslogtreecommitdiffstats
path: root/js/vendor/angular-mocks/README.md
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 08:54:46 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 09:02:26 +0100
commit0a97b588d0fbb677614961a7b77aed77aa160014 (patch)
treecfe00eda29709ed8d19a8daf338782ba69abc073 /js/vendor/angular-mocks/README.md
parent2c4cc6ce0bd25efab0fc4cf57e3e7ee358569761 (diff)
update dev deps and angular
Diffstat (limited to 'js/vendor/angular-mocks/README.md')
-rw-r--r--js/vendor/angular-mocks/README.md23
1 files changed, 19 insertions, 4 deletions
diff --git a/js/vendor/angular-mocks/README.md b/js/vendor/angular-mocks/README.md
index 3448d2849..1604ef880 100644
--- a/js/vendor/angular-mocks/README.md
+++ b/js/vendor/angular-mocks/README.md
@@ -1,21 +1,36 @@
-# bower-angular-mocks
+# packaged angular-mocks
-This repo is for distribution on `bower`. The source for this module is in the
+This repo is for distribution on `npm` and `bower`. The source for this module is in the
[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock).
Please file issues and pull requests against that repo.
## Install
-Install with `bower`:
+You can install this package either with `npm` or with `bower`.
+
+### npm
+
+```shell
+npm install angular-mocks
+```
+
+The mocks are then available at `node_modules/angular-mocks/angular-mocks.js`.
+
+Note that this package is not in CommonJS format, so doing `require('angular-mocks')` will
+return `undefined`.
+
+### bower
```shell
bower install angular-mocks
```
+The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`.
+
## Documentation
Documentation is available on the
-[AngularJS docs site](http://docs.angularjs.org/guide/dev_guide.unit-testing).
+[AngularJS docs site](https://docs.angularjs.org/guide/unit-testing).
## License