Gathering detailed insights and metrics for gulp-build-manager
Gathering detailed insights and metrics for gulp-build-manager
Gathering detailed insights and metrics for gulp-build-manager
Gathering detailed insights and metrics for gulp-build-manager
npm install gulp-build-manager
Typescript
Module System
Node Version
NPM Version
TypeScript (92.57%)
JavaScript (7.43%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
325 Commits
2 Watchers
6 Branches
1 Contributors
Updated on Nov 04, 2020
Latest Version
4.0.3
Package Id
gulp-build-manager@4.0.3
Unpacked Size
73.03 kB
Size
19.61 kB
File Count
35
NPM Version
6.14.8
Node Version
14.15.0
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
1
53
Gulp Build Manager, gbm in short, is an easy to use, configuration based gulp task manager. Users can create gulp tasks with simple build configurations. At the same time, javascript can be used to customize and extend the configuration.
Focus on build actions, rather than environment setup.
1npm i gulp-build-manager --save-dev 2npm i gulp --save-dev
Go to Documentation
1const gbm = require('gulp-build-manager');
2gbm.setNpmOptions({autoInstall: true, installOptions: '--no-save'});
1npx gulp <task-name> --npm-auto # default npm install option is '--save-dev'
Refer to Getting Started page for more information.
1const gbm = require('gulp-build-manager'); 2const upath = require('upath') 3 4const basePath = upath.relative(process.cwd(), __dirname); 5const srcRoot = upath.join(basePath, 'assets'); 6const destRoot = upath.join(basePath, 'www'); 7 8 9const scss = { 10 buildName: 'scss', 11 builder: (rtb) => rtb.src().pipe(sass().on('error', sass.logError)).dest(), 12 src: upath.join(srcRoot, 'scss/**/*.scss'), 13 dest: upath.join(destRoot, 'css'), 14} 15 16const scripts = { 17 buildName: 'babel', 18 builder: (rtb) => rtb.src().pipe(require('gulp-babel')()).dest(), 19 src: upath.join(srcRoot, 'js/**/*.js'), 20 dest: upath.join(destRoot, 'js'), 21} 22 23const build = { 24 buildName: '@build', 25 triggers: gbm.parallel(scss, scripts), 26 clean: upath.join(destRoot, '{css,js}') 27} 28 29gbm.createProject(build) 30 .addWatcher({ 31 watch: upath.join(destRoot, '**/*.html'), 32 browserSync: { server: destRoot } 33 }) 34 .addCleaner()
This gulpfile will create a single project with 5 gulp tasks as following:
1const gbm = require('gulp-build-manager'); 2const upath = require('upath') 3 4const basePath = upath.relative(process.cwd(), __dirname); 5const srcRoot = upath.join(basePath, 'assets'); 6const destRoot = upath.join(basePath, 'www'); 7 8 9const scss = { 10 buildName: 'GCSSBuilder', 11 src: upath.join(srcRoot, 'scss/**/*.scss'), 12 dest: upath.join(destRoot, 'css'), 13} 14 15const scripts = { 16 buildName: 'GJavaScriptBuilder', 17 src: upath.join(srcRoot, 'js/**/*.js'), 18 dest: upath.join(destRoot, 'js'), 19} 20 21const build = { 22 buildName: '@build', 23 triggers: gbm.parallel(scss, scripts), 24 clean: upath.join(destRoot, '{css,js}') 25} 26 27gbm.createProject(build) 28 .addWatcher({ 29 watch: upath.join(destRoot, '**/*.html'), 30 browserSync: { server: destRoot } 31 }) 32 .addCleaner()
Check examples directory for more working examples.
Copyright © 2017, under MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
119 existing vulnerabilities detected
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