esca-scripts

1.5.4 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.415latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.415
1.5.30
1.5.20
1.5.10
1.5.00
1.4.20
1.4.10
1.4.00
1.3.11
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.1.180
1.1.170
1.1.160
1.1.151
1.1.140
1.1.130
1.1.121
1.1.110
1.1.100
1.1.70
1.1.60
1.1.10
1.1.00
1.0.00
0.14.123
0.14.110
0.14.100
0.14.90
0.14.80
0.14.70
0.14.60
0.14.50
0.14.40
0.14.30
0.14.20
0.14.12
0.14.00
0.13.60
0.13.50
0.13.40
0.13.30
0.13.20
0.13.10
0.13.00
0.12.10
0.12.00
0.11.00
0.10.60
0.10.50
0.10.40
0.10.30
0.10.20
0.10.10
0.10.00
0.9.100
0.9.91
0.9.80
0.9.70
0.9.60
0.9.50
0.9.41
0.9.30
0.9.20
0.9.10
0.9.00
0.8.60
0.8.50
0.8.40
0.8.30
0.8.20
0.7.20
0.7.10
0.7.00
0.6.40
0.6.30
0.6.20
0.6.10
0.6.00
0.5.20
0.5.10
0.5.00
0.4.10
0.4.00
0.2.31
0.2.20
0.2.10
0.2.00
0.1.50
0.1.40
0.1.30
0.1.21
0.1.10
0.1.00
0.0.10
0.0.00

Package Sidebar

Install

npm i esca-scripts

Weekly Downloads

27

Version

1.5.4

License

MIT

Unpacked Size

12 MB

Total Files

201

Last publish

Collaborators

  • amadoa
  • dalewray
  • codevelopit
  • mastaaaron
  • escasports
  • tbaustin
  • ken85rose