Lots of updates

This commit is contained in:
baldo 2016-05-16 13:33:49 +02:00
commit 39e7af6238
454 changed files with 221168 additions and 36622 deletions

View file

@ -1,18 +1,20 @@
{
"name": "angular-mocks",
"version": "1.2.21",
"version": "1.5.6-build.4801+sha.3b5751d",
"license": "MIT",
"main": "./angular-mocks.js",
"ignore": [],
"dependencies": {
"angular": "1.2.21"
"angular": "1.5.6-build.4801+sha.3b5751d"
},
"homepage": "https://github.com/angular/bower-angular-mocks",
"_release": "1.2.21",
"_release": "1.5.6-build.4801+sha.3b5751d",
"_resolution": {
"type": "version",
"tag": "v1.2.21",
"commit": "ab33e90eaec5bb2c96126e808ae9f44cf59b7205"
"tag": "v1.5.6-build.4801+sha.3b5751d",
"commit": "0a8b4b9b19bdbc42ec5599c329692e8a28084838"
},
"_source": "git://github.com/angular/bower-angular-mocks.git",
"_target": "1.2.21",
"_source": "https://github.com/angular/bower-angular-mocks.git",
"_target": "~1.5.6",
"_originalSource": "angular-mocks"
}

View file

@ -1,27 +1,48 @@
# 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
```
You can `require` ngMock modules:
```js
var angular = require('angular');
angular.module('myMod', [
require('angular-animate'),
require('angular-mocks/ngMock'),
require('angular-mocks/ngAnimateMock')
]);
```
### 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
The MIT License
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,10 @@
{
"name": "angular-mocks",
"version": "1.2.21",
"version": "1.5.6-build.4801+sha.3b5751d",
"license": "MIT",
"main": "./angular-mocks.js",
"ignore": [],
"dependencies": {
"angular": "1.2.21"
"angular": "1.5.6-build.4801+sha.3b5751d"
}
}

View file

@ -0,0 +1,2 @@
require('./angular-mocks');
module.exports = 'ngAnimateMock';

View file

@ -0,0 +1,2 @@
require('./angular-mocks');
module.exports = 'ngMock';

View file

@ -0,0 +1,2 @@
require('./angular-mocks');
module.exports = 'ngMockE2E';

View file

@ -0,0 +1,27 @@
{
"name": "angular-mocks",
"version": "1.5.6-build.4801+sha.3b5751d",
"description": "AngularJS mocks for testing",
"main": "angular-mocks.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.js.git"
},
"keywords": [
"angular",
"framework",
"browser",
"mocks",
"testing",
"client-side"
],
"author": "Angular Core Team <angular-core+npm@google.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/angular/angular.js/issues"
},
"homepage": "http://angularjs.org"
}