/gulp-ipfs-publisher

Gulp plugin to publish files to IPFS

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

gulp-ipfs-publisher Build Status

This is a gulp plugin that publish files to IPFS.

Getting Started

This package will help you to publish your files to IPFS in an automated way.

Installing

Just install it via npm:

npm install gulp-ipfs --save-dev

API

gulpIPFSPublisher()

Publishing a folder

let gulp = require('gulp');
let ipfsPublisher = require('gulp-ipfs-publisher');

gulp.task('export-abi', _ => {
  return gulp.src('build')
    .pipe(ipfsPublisher());
});

Publishing files

let gulp = require('gulp');
let ipfs = require('gulp-ipfs-publisher');

gulp.task('export-abi', _ => {
  return gulp.src(['build/*.html', 'build/*.css'])
    .pipe(ipfsPublisher());
});

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • NĂ­ckolas Goline - Initial work - nGoline

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.