potions

0.2.1 • Public • Published

Potions (still under development)

Minimal Gulp wrapper.

How to use

  1. Install Gulp.
  2. npm install potions --save-dev.
  3. Create a gulpfile.js file, require('potions') and define your tasks.
  4. Run gulp in the terminal.

Here's a sample config:

var potions = require('potions');

potions(mix => {
    mix.js(['app.js'], 'app.js') // ES2015 transpiling and CommonJS/ES2015 module bundling
       .sass(['app.scss'], 'app.css') // Autoprefix and compile Sass
       .styles(['vendor/library-a.css','vendor/library-b.css'], 'vendor.css'); // Concatenate and autoprefix CSS files
});

Progress

  • CSS
  • Sass
  • Javascript
  • File versioning
  • Bublé
  • Rollup
  • Vue.js
  • SVG
  • Browsersync

Package Sidebar

Install

npm i potions

Weekly Downloads

3

Version

0.2.1

License

ISC

Last publish

Collaborators

  • johnrivs