1.5.4 • Published 7 years ago

esca-scripts v1.5.4

Weekly downloads
5
License
MIT
Repository
github
Last release
7 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

7 years ago

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.18

7 years ago

1.1.17

7 years ago

1.1.16

7 years ago

1.1.15

7 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.14.12

7 years ago

0.14.11

7 years ago

0.14.10

7 years ago

0.14.9

7 years ago

0.14.8

7 years ago

0.14.7

7 years ago

0.14.6

7 years ago

0.14.5

7 years ago

0.14.4

7 years ago

0.14.3

7 years ago

0.14.2

7 years ago

0.14.1

7 years ago

0.14.0

7 years ago

0.13.6

7 years ago

0.13.5

7 years ago

0.13.4

7 years ago

0.13.3

7 years ago

0.13.2

7 years ago

0.13.1

7 years ago

0.13.0

7 years ago

0.12.1

7 years ago

0.12.0

7 years ago

0.11.0

7 years ago

0.10.6

7 years ago

0.10.5

7 years ago

0.10.4

7 years ago

0.10.3

7 years ago

0.10.2

7 years ago

0.10.1

7 years ago

0.10.0

7 years ago

0.9.10

7 years ago

0.9.9

7 years ago

0.9.8

7 years ago

0.9.7

7 years ago

0.9.6

7 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago