oligo
TypeScript icon, indicating that this package has built-in type declarations

0.8.6 • Public • Published

Oligo

Build Status Greenkeeper badge npm version Maintainability dependencies Status dependencies Status Github Issues Code Style License

🦖 🦕 Oligo provides build tooling and setup help for the TGS App.

Usage

CLI

oligo # will use oligo.json in current directory 
oligo --config "path/to/oligo.json"
 
oligo --dev # for dev mode (hot reload etc.) 
oligo --cordova # for cordova build 

Programmatic

Assuming production builds into /www.

import * as express from 'express';
import Oligo from 'oligo';
 
const app = express();
 
if (process.argv.includes('--dev')) {
  app.use(Oligo()); // dev
} else {
  app.use(express.static('www')); // prod
}

/oligo/

    Package Sidebar

    Install

    npm i oligo

    Weekly Downloads

    0

    Version

    0.8.6

    License

    MIT

    Unpacked Size

    32.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • kyle.h