Gathering detailed insights and metrics for gulp-install
Gathering detailed insights and metrics for gulp-install
Gathering detailed insights and metrics for gulp-install
Gathering detailed insights and metrics for gulp-install
@types/gulp-install
TypeScript definitions for gulp-install
gulp-install-tools
A Simple Toolset to Help Install & Uninstall Gulp Plugins.
gulp-bower
Install Bower packages.
@ryancavanaugh/gulp-install
Type definitions for gulp-install v0.6.0 from https://www.github.com/DefinitelyTyped/DefinitelyTyped
Automatically install npm and bower packages if package.json or bower.json is found in the gulp file stream respectively
npm install gulp-install
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
105 Stars
82 Commits
43 Forks
7 Watchers
2 Branches
11 Contributors
Updated on Apr 19, 2025
Latest Version
1.1.0
Package Id
gulp-install@1.1.0
Size
5.00 kB
NPM Version
3.10.7
Node Version
6.4.0
Published on
Mar 23, 2017
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
Automatically install npm, bower, tsd, typings, composer and pip packages/dependencies if the relative configurations are found in the gulp file stream respectively
File Found | Command run |
---|---|
package.json | npm install |
bower.json | bower install |
tsd.json | tsd reinstall --save |
typings.json | typings install |
composer.json | composer install |
requirements.txt | pip install -r requirements.txt |
It will run the command in the directory it finds the file, so if you have configs nested in a lower directory than your slushfile.js
/gulpfile.js
, this will still work.
NOTE since v1.0.0
gulp-install requires at least NodeJS v6.
Used as the install step when using slush
as a Yeoman replacement.
Install gulp-install
as a dependency:
1npm install --save gulp-install
Install gulp-install
as a development dependency:
1npm install --save-dev gulp-install
slushfile.js
:1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install());
gulpfile.js
:1var install = require("gulp-install"); 2 3gulp.src(['./bower.json', './package.json']) 4 .pipe(install());
inject([options] [, callback])
Param | Type | Description |
---|---|---|
options | Object | Any option |
callback | Function | Called when install is finished (not on failures) |
To not trigger the install use --skip-install
as CLI parameter when running slush
or gulp
.
<command>
Type: Array|String|Object
Default: null
Use this option(s) to specify any arguments for any command, e.g:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({ 6 npm: '--production', // Either a single argument as a string 7 bower: {allowRoot: true}, // Or arguments as an object (transformed using Dargs: https://www.npmjs.com/package/dargs) 8 pip: ['--target', '.'] // Or arguments as an array 9 }));
Type: Object
Default: null
Use this option to add any command to be run for any file, e.g:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({ 6 commands: { 7 'package.json': 'yarn' 8 }, 9 yarn: ['--extra', '--args', '--here'] 10 }));
Type: Boolean
Default: false
Set to true
if npm install
should be appended with the --production
parameter when stream contains package.json
.
Example:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({production: true}));
Type: Boolean
Default: false
Set to true
if npm install
should be appended with the --ignore-scripts
parameter when stream contains package.json
. Useful for skipping postinstall
scripts with npm
.
Example:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({ignoreScripts: true}));
Type: Boolean
Default: false
Set to true
if npm install
should be appended with the --no-optional
parameter which will prevent optional dependencies from being installed.
Example:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({noOptional: true}));
Type: Boolean
Default: false
Set to true
if bower install
should be appended with the --allow-root
parameter when stream contains bower.json
.
Example:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({allowRoot: true}));
Type: Array or String
Default: undefined
Specify additional arguments that will be passed to the install command(s).
Example:
1var install = require("gulp-install"); 2 3gulp.src(__dirname + '/templates/**') 4 .pipe(gulp.dest('./')) 5 .pipe(install({ 6 args: ['dev', '--no-shrinkwrap' ]} // npm install --dev --no-shrinkwrap 7 ));
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 4/27 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More