Socket
Socket
Sign inDemoInstall

quick-dev-cli

Package Overview
Dependencies
21
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quick-dev-cli

Zero-configuration web environments with babel and webpack


Version published
Weekly downloads
3
Maintainers
1
Install size
58.5 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 10 Apr 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc