sgnbuild
The build system used by all Signum projects
Last updated 3 years ago by zebmccorkle .
UNLICENSED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sgnbuild 
SYNC missed versions from official npm registry.

sgnbuild NPM Downloads per month Downloads total Build Status

NOTICE: sgnbuild is built for the latest "Current" version of Node. If it works on other versions, consider that undefined behavior. Do not use sgnbuild on Node versions older than Current. (including 4, the current LTS)

A web application build system

Motto: it works, nothing more

Building instructions

  1. Install sgnbuild from npm

    npm install --global sgnbuild
    
  2. Build

    sgnbuild
    
  3. Install

    npm install --global
    

Usage instructions

All configuration is done within an object called "sgnbuild" in your project's package.json.

  • sgnbuild.type: string:
    • "web": Build a web application with Rollup, Webpack, and Babel
    • "node": Build a Node application with Rollup, outputting CommonJS
    • "library": Build a library with Rollup, outputting UMD
  • sgnbuild.root: string: Directory in which to find es6/index.js
  • sgnbuild.global: string: If sgnbuild.type is "library", this sets the global to put all exported fields in if the environment is not CommonJS or AMD.
  • sgnbuild.uglify: boolean: If sgnbuild.type is "web", the bundle will be run through UglifyJS.

Take a look at sgnbuild's package.json to see an example which is enough for most circumstances:

"sgnbuild": {
  "type": "node"
}

Current Tags

  • 0.13.0                                ...           latest (3 years ago)

20 Versions

  • 0.13.0                                ...           3 years ago
  • 0.12.1                                ...           3 years ago
  • 0.12.0                                ...           3 years ago
  • 0.11.0                                ...           3 years ago
  • 0.10.0                                ...           3 years ago
  • 0.9.1                                ...           3 years ago
  • 0.9.0                                ...           3 years ago
  • 0.8.1                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |