Installations
npm install gulp-gh-pages-latest
Developer Guide
Typescript
No
Module System
N/A
Node Version
12.12.0
NPM Version
6.12.0
Score
63.3
Supply Chain
92.1
Quality
68.3
Maintenance
100
Vulnerability
98.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
Download Statistics
Total Downloads
497
Last Day
1
Last Week
2
Last Month
5
Last Year
59
GitHub Statistics
605 Stars
149 Commits
68 Forks
12 Watching
1 Branches
15 Contributors
Bundle Size
206.91 kB
Minified
60.69 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.6.0-6
Package Id
gulp-gh-pages-latest@0.6.0-6
Unpacked Size
11.51 kB
Size
4.59 kB
File Count
5
NPM Version
6.12.0
Node Version
12.12.0
Total Downloads
Cumulative downloads
Total Downloads
497
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
66.7%
5
Compared to previous month
Last year
-29.8%
59
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
gulp-gh-pages
gulp plugin to publish contents to Github pages
Installation
npm install --save-dev gulp@next gulp-gh-pages
Usage
Define a deploy
task in your gulpfile.js
(as below) which can be used to push to gh-pages
going forward.
1const {src, task}= require('gulp'); 2const ghPages = require('gulp-gh-pages'); 3 4task('deploy', () => src('./dist/**/*').pipe(ghPages()));
Now, you should be able to call your task by doing:
gulp deploy
API
1const ghPages = require('gulp-gh-pages');
ghPages([options])
options: Object
Return: stream.Transform
options.remoteUrl
Type: string
Default: URL for the remote of the current dir (assumes a git repository)
By default gulp-gh-pages
assumes the current working directory is a git repository and uses the URL of the remote designated by origin
. If your gulpfile.js
is not in a git repository, or if you want to push to a different remote url, you can specify it. Ensure you have write access to the repository.
options.branch
Type: string
Default: "gh-pages"
The branch where deploy will by done. Change to "master" for username.github.io
projects.
options.cacheDir
Type: string
Default: .publish
Set the directory path to keep a cache of the repository. If it doesn't exist, gulp-gh-pages automatically create it.
options.push
Type: boolean
Default: true
Allow you to make a build on the defined branch without pushing it to master. Useful for dry run.
options.force
Type: boolean
Default: false
Force adding files to the gh-pages
branch, even if they are ignored by .gitignore
or .gitignore_global
.
options.message
Type: string
Default: "Update [timestamp]"
Edit commit message.
License
MIT License © 2014 Micheal Benedict, 2015 - 2018 Shinnosuke Watanabe
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 2/30 approved changesets -- score normalized to 0
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
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Reason
38 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-6chw-6frg-f759
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3
- Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6
- Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9
- Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f
- Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p
- Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv
- Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8
- Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65
- Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh
- Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44
- Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546
- Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.7
/10
Last Scanned on 2025-01-20
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