🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

gulp-require-angular

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-require-angular - npm Package Compare versions

Comparing version

to
0.7.1

2

package.json
{
"name": "gulp-require-angular",
"version": "0.7.0",
"version": "0.7.1",
"description": "require() AngularJS modules/dependencies without having to type require()",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -70,10 +70,10 @@ gulp-require-angular

####The function
#### The function
```javascript
requireAngular('mainModule', options);
```
####mainModule
#### mainModule
mainModule is the name of the module entry point used to calculate the module dependency tree. This is your top level module, and is going to be the same module name found in `ng-app`.
####options
#### options
Object with the following default properties

@@ -90,18 +90,18 @@ ```javascript

```
#####filename
##### filename
The name of the generated .js file.
#####rebase
##### rebase
The base path to apply to all require statements.
#####base
##### base
The directory to place the generated file. By default it is the base path of everything in `gulp.src`
#####errorOnMissingModules
##### errorOnMissingModules
When a module appears in the dependency tree, but cannot be found in a file, emit an error or not.
#####bower
##### bower
To look for bower installed packages or not. If `true`, `bower.json` must be present. Will only look for bower packages which are installed, i.e. listed as dependencies in `bower.json`.
#####mainBowerFiles
##### mainBowerFiles
Options object to pass through to [bower-main-files](https://github.com/ck86/main-bower-files)

@@ -108,0 +108,0 @@