gulp-slurp
This package is designed to work with gulp!
It is a set of Promise(bluebird) tools to make development a bit easier.
$ npm install gulp-slurp
javascript (browserify, gulp-sourcemaps, gulp-uglify, gulp-babel)
const slurp = ;const gulp = ; // Want to browserify a file real quick? Does your file have a custom module that's// not in the node_modules folder? gulp // Easy!gulp
Since this relies on gulp modules, you don't really even need to require gulp! Use it straight up!
pug/jade (gulp-pug)
const slurp = ; slurp
stylus (gulp-stylus)
const slurp = ; slurp
manifest (chrome, firefox, etc...)
const slurp = ; let opts = name: "Platypus" desc: "A webextension!" vers: "1.0" permissions: "tabs" "activeTab" "webRequest" "cookies" "<all_urls>" listen: 'http://*//*' background: 'background.js' scripts: 'index.js' public: "web/*" slurp
delete files (del)
const slurp = ; slurp )
write a file (gulp-file)
const slurp = ; slurp)
Coming up, TODO
- Include custom variable replacement. Webpack is already able to do this but does it "cooler" (I guess...)
instead of straight up replacing. I don't want to use process.env either. - Add other gulp modules