runup-lean
> Lean Runup model
Last updated 2 years ago by everbuild .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install runup-lean 
SYNC missed versions from official npm registry.

Lean Runup model

Runup-lean contains a Runup model with a fairly complete set of web (app) development tools. It's rather opinionated as it contains those tools I currently prefer to work with. Use what you like, tweak what you don't (and share).

I try to find tools that do the job well and do it efficiently. Currently these are:

For JS:

  • Rollup for bundling ES modules
  • Babel for transpiling them to JS in prd mode
  • Uglify for minifying them in prd mode
  • ESLint for linting
  • Thintest for testing

For CSS:

Install

$ npm install --saveDev runup runup-lean

Usage

If you haven't yet, setup Runup.

Then let your model extend runup-lean:

// file: project.js

module.exports = {

    extend: 'runup-lean',
    
    // you can override tool options:
    sass: {
        // usual Node-sass options...
        outputStyle: 'compact'
    }
    // there are similar hooks for all tools, see the flow files

    // ... other settings ...
}

Then start Runup in dev or prd mode as usual. For more info on Runup, see the wiki.

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

1 Versions

  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 4
Last Day 2
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |