0.2.1 • Published 6 years ago

quick-dev-cli v0.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Quick Dev

Zero-configuration web environments with babel and webpack.

Installation

$> npm install -g quick-dev-cli

Usage

Start a dev server from the current directory:

$> qd [-d <directory>] [-p <port>] [-b <.babelrc>] [-w <webpack.config>] [-e <index.js>] [-i <index.html>]

QD provides the following with no configuration:

You can override these with their respective arguments

  • -b, --babel <location to .babelrc>
  • -w, --webpack <location to webpack.config>
  • -i, --index <location to index.html>

Babel configuration

Presets

  • env
  • react
  • stage-2

Plugins

  • transform-class-properties
  • transform-object-rest-spread
  • babel-plugin-transform-react-jsx

Webpack configuration

Loaders

  • styles-loader
  • css-loader
  • sass-loader