1.5.4 • Published 6 years ago

esca-scripts v1.5.4

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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

OptionDescriptionDefault
--srcThe source directory of your project"src"
--distThe distribution directory your project will compile to"dist"
--no-reactCreates configs without React(Off)
--no-cssCreates configs without PostCSS(Off)

bundle

Build distributable bundle file for browser

OptionDescriptionDefault
--srcThe source file of your project"dev/index.html"
--distThe distribution file/directory your project will compile to"dist-dev/index.html"
--globalPass in a name to your export as `window.{your_name} | (Off)
--no-reactCreates configs without React(Off)
--no-cssCreates configs without PostCSS(Off)

dev

Live develop in browser

OptionDescriptionDefault
--srcThe source file of your project"dev/index.html"
--distThe distribution file/directory your project will compile to"dist-dev/index.html"
--no-reactCreates configs without React(Off)
--no-cssCreates configs without PostCSS(Off)

rename

Renames project files

OptionDescriptionDefault
--nameThe new name(Working directory name)

reset

Resets and renames project

OptionDescriptionDefault
--nameThe new name(Working directory name)

run

Run a file in Node.js

OptionDescriptionDefault
--fileThe file to run"./src/index"
--no-reactCreates configs without React(Off)

serve

Serve a directory of static files

OptionDescriptionDefault
--dirThe directory to serve"dist"
--no-openPrevents browser from opening(Off)

test

Runs tests

config

Copies configs

CommandDescription
babelCopies Babel config
postcssCopies PostCSS config
1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.14.12

6 years ago

0.14.11

6 years ago

0.14.10

6 years ago

0.14.9

6 years ago

0.14.8

6 years ago

0.14.7

6 years ago

0.14.6

6 years ago

0.14.5

6 years ago

0.14.4

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.6

6 years ago

0.13.5

6 years ago

0.13.4

6 years ago

0.13.3

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.1

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.6

6 years ago

0.10.5

6 years ago

0.10.4

6 years ago

0.10.3

6 years ago

0.10.2

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.10

6 years ago

0.9.9

6 years ago

0.9.8

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

6 years ago

0.9.4

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.8.6

6 years ago

0.8.5

6 years ago

0.8.4

6 years ago

0.8.3

6 years ago

0.8.2

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago