3.0.0 • Published 7 years ago

start-env v3.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

start-env

npm linux build windows build coverage deps

process.env task for Start.

Install

npm install --save-dev start-env
# or
yarn add --dev start-env

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import env from 'start-env';
import files from 'start-files';
import read from 'start-read';
import babel from 'start-babel';
import write from 'start-write';

const start = Start(reporter());

export const build = () => start(
  env('NODE_ENV', 'production'),
  files('lib/**/*.js'),
  read(),
  babel(),
  write('build/')
);

Arguments

env(key, value)