react-bundle-builder

0.6.4 • Public • Published

react-bundle-builder 0.6.3 Build Status

Installation

project: npm install react-bundle-builder --save-dev

global: npm install react-bundle-builder -g

Commands

t, test          Test App
   -w, --watch      Enable watching files
b, build         Build App
s, serve         Serve App
    -H, --hmr        Use Hot Module Reload(experimental)
    -o, --open       Open browser
    -i, --iframe     Open iframe in browser
    -l, --lint       Use linter
u, upload        Upload App to S3

Configuration

builder.config.coffee in current working directory

  module.exports = ->
    input: [__dirname, 'src']
    output: [__dirname, 'dist']
    alias:
      AliasTest: [__dirname, 'alias_test']
    variables: ['APP_ENV']

.env.development or pass BUILDER_ENV to use specific .env.%BUILDER_ENV% file

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET=
AWS_S3_BUCKET_KEY=/
AWS_S3_REGION=us-west-1
APP_ENV=development

Readme

Keywords

none

Package Sidebar

Install

npm i react-bundle-builder

Weekly Downloads

27

Version

0.6.4

License

ISC

Last publish

Collaborators

  • vsych