Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including runup-lean with all npm packages installed. Try it out:

require("runup/package.json"); // runup is a peer dependency. var runupLean = require("runup-lean")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

runup-lean v0.1.0

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free