Gathering detailed insights and metrics for @kolibridev/gulp-tasks
Gathering detailed insights and metrics for @kolibridev/gulp-tasks
Gathering detailed insights and metrics for @kolibridev/gulp-tasks
Gathering detailed insights and metrics for @kolibridev/gulp-tasks
npm install @kolibridev/gulp-tasks
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
82 Commits
11 Watchers
1 Branches
2 Contributors
Updated on Jan 28, 2023
Latest Version
0.11.10
Package Id
@kolibridev/gulp-tasks@0.11.10
Size
6.78 kB
NPM Version
3.10.3
Node Version
6.3.1
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
32
Collection of useful gulp tasks. WIP!
1npm install @kolibridev/gulp-tasks
See gulpconfig-defaults for all default options. Usually something like this will suffice.
1// ./gulp/config.js 2const path = require('path') 3const gutil = require('gulp-util') 4const assign = require('lodash.assign') 5const pkg = require('../package.json') 6 7const config = { 8 version: pkg.version, 9 source: path.resolve(__dirname, '../src'), 10 target: path.resolve(__dirname, '../dist'), 11 minify: false, 12 debug: true, 13 url: 'https://dev.domain.com', 14} 15 16const envs = { 17 prod: { 18 minify: true, 19 debug: false, 20 url: 'https://www.domain.com', 21 }, 22} 23 24// Extend with environment specific config 25const env = gutil.env.env || (gutil.env.prod ? 'prod' : 'dev') 26assign(config, envs[env]) 27 28module.exports = config
This can be directly in ./gulpfile.js
or create something like ./gulp/index.js
and require it in ./gulpfile.js
1// ./gulpfile.js 2require('./gulp')
This package exposes a function that optionally takes in your config. This example will register all the tasks for you. You can theoretically just register the tasks you're actually going to use. NOTE: If you create a local task (within your own project) with the same name as one of these, it will overwrite it's function.
1// ./gulp/index.js 2const gulp = require('gulp') 3const gutil = require('gulp-util') 4const _ = require('lodash') 5const config = require('./config') 6 7_.forOwn(require('@kolibridev/gulp-tasks')(config).tasks, (task) => { 8 gutil.log(gutil.colors.green(`Registered ${gutil.colors.blue(task.name)} task`)) 9 gulp.task(task.name, task.dep, task.fn) 10})
No vulnerabilities found.
Reason
no vulnerabilities detected
Reason
no dangerous workflow patterns detected
Reason
tokens are read-only in GitHub workflows
Reason
no binaries found in the repo
Reason
all dependencies are pinned
Details
Reason
repo is marked as archived
Reason
no reviews found
Details
Reason
no badge detected
Reason
license file not detected
Reason
security policy file not detected
Reason
project is not fuzzed
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2022-08-15
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