spitball
A plucky little batteries-included compiler util.
Last updated 8 months ago by estrattonbailey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install spitball 
SYNC missed versions from official npm registry.

spitball

A plucky little batteries-included compiler util. Built with Webpack.

Features

  1. glob & multi-entries
  2. modern JS
  3. modern CSS
  4. live-reload
  5. conventient CLI

Install

npm i spitball

Usage

spitball <command> [inputs...] --out <dir>

Config

To take advantage of multi-entries and a few other options, you'll need to define a config file.

// spitball.config.js
module.exports = {
  in: 'src/*.js', // string or object syntax
  out: 'dist',
  env: {
    apiKey: 'abcde'
  },
  alias: {
    components: 'src/components/'
  },
  banner: '/** Hello there */', // default undefined
  reload: true // live-reload, defaults to false
}

License

MIT License © The Couch

Current Tags

  • 0.0.10                                ...           latest (8 months ago)

10 Versions

  • 0.0.10                                ...           8 months ago
  • 0.0.9                                ...           8 months ago
  • 0.0.8                                ...           8 months ago
  • 0.0.7                                ...           8 months ago
  • 0.0.6                                ...           8 months ago
  • 0.0.5                                ...           8 months ago
  • 0.0.4                                ...           8 months ago
  • 0.0.3                                ...           8 months ago
  • 0.0.2                                ...           8 months ago
  • 0.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |