esca-scripts
Reusable CLI scripts for devops.
Last updated a year ago by ken85rose .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install esca-scripts 
SYNC missed versions from official npm registry.

esca-scripts

Reusable CLI scripts for devops.

Installation

Local:

yarn add esca-scripts

Or global:

yarn global add esca-scripts

Usage

esca-scripts <command>

build

Build distributable files

Option Description Default
--src The source directory of your project "src"
--dist The distribution directory your project will compile to "dist"
--no-react Creates configs without React (Off)
--no-css Creates configs without PostCSS (Off)

bundle

Build distributable bundle file for browser

Option Description Default
--src The source file of your project "dev/index.html"
--dist The distribution file/directory your project will compile to "dist-dev/index.html"
--global Pass in a name to your export as `window.{your_name} (Off)
--no-react Creates configs without React (Off)
--no-css Creates configs without PostCSS (Off)

dev

Live develop in browser

Option Description Default
--src The source file of your project "dev/index.html"
--dist The distribution file/directory your project will compile to "dist-dev/index.html"
--no-react Creates configs without React (Off)
--no-css Creates configs without PostCSS (Off)

rename

Renames project files

Option Description Default
--name The new name (Working directory name)

reset

Resets and renames project

Option Description Default
--name The new name (Working directory name)

run

Run a file in Node.js

Option Description Default
--file The file to run "./src/index"
--no-react Creates configs without React (Off)

serve

Serve a directory of static files

Option Description Default
--dir The directory to serve "dist"
--no-open Prevents browser from opening (Off)

test

Runs tests

config

Copies configs

Command Description
babel Copies Babel config
postcss Copies PostCSS config

Current Tags

  • 1.5.4                                ...           latest (a year ago)

101 Versions

  • 1.5.4                                ...           a year ago
  • 1.5.3                                ...           a year ago
  • 1.5.2                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.2                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.18                                ...           a year ago
  • 1.1.17                                ...           a year ago
  • 1.1.16                                ...           a year ago
  • 1.1.15                                ...           a year ago
  • 1.1.14                                ...           a year ago
  • 1.1.13                                ...           a year ago
  • 1.1.12                                ...           a year ago
  • 1.1.11                                ...           a year ago
  • 1.1.10                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.14.12                                ...           a year ago
  • 0.14.11                                ...           a year ago
  • 0.14.10                                ...           a year ago
  • 0.14.9                                ...           a year ago
  • 0.14.8                                ...           a year ago
  • 0.14.7                                ...           a year ago
  • 0.14.6                                ...           a year ago
  • 0.14.5                                ...           a year ago
  • 0.14.4                                ...           a year ago
  • 0.14.3                                ...           2 years ago
  • 0.14.2                                ...           2 years ago
  • 0.14.1                                ...           2 years ago
  • 0.14.0                                ...           2 years ago
  • 0.13.6                                ...           2 years ago
  • 0.13.5                                ...           2 years ago
  • 0.13.4                                ...           2 years ago
  • 0.13.3                                ...           2 years ago
  • 0.13.2                                ...           2 years ago
  • 0.13.1                                ...           2 years ago
  • 0.13.0                                ...           2 years ago
  • 0.12.1                                ...           2 years ago
  • 0.12.0                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.6                                ...           2 years ago
  • 0.10.5                                ...           2 years ago
  • 0.10.4                                ...           2 years ago
  • 0.10.3                                ...           2 years ago
  • 0.10.2                                ...           2 years ago
  • 0.10.1                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.10                                ...           2 years ago
  • 0.9.9                                ...           2 years ago
  • 0.9.8                                ...           2 years ago
  • 0.9.7                                ...           2 years ago
  • 0.9.6                                ...           2 years ago
  • 0.9.5                                ...           2 years ago
  • 0.9.4                                ...           2 years ago
  • 0.9.3                                ...           2 years ago
  • 0.9.2                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.6                                ...           2 years ago
  • 0.8.5                                ...           2 years ago
  • 0.8.4                                ...           2 years ago
  • 0.8.3                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.7.2                                ...           2 years ago
  • 0.7.1                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.4                                ...           2 years ago
  • 0.6.3                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 6
Last Day 0
Last Week 2
Last Month 102
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |