🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

quick-dev-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-dev-cli

Zero-configuration web environments with babel and webpack

0.2.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

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:

  • Default entry file index.js
    • Override with the -e option
  • Default index.html
    • If an index.html is found in directory, will override
    • Auto loads any css files in base directory
    • Override with the -i option
  • Default babel config
    • Override with the -b option
  • Default webpack config
    • Override with the -w option

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

Keywords

zero-configuration

FAQs

Package last updated on 10 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts