1.4.2 • Published 3 years ago

@skypager/cli v1.4.2

Weekly downloads
607
License
MIT
Repository
-
Last release
3 years ago

Skypager CLI

The Skypager CLI provides the skypager executable.

Installation

Install using npm or yarn

# install with npm
$ npm install @skypager/cli --save
# or if you use yarn
$ yarn add @skypager/cli --save

Provided Scripts

  • console starts an interactive console using the Skypager REPL Helper
  • start-and-test starts a server and runs a test command
  • serve starts a skypager server in the project
  • run-all runs multiple package.json scripts, supports monorepos
  • socket starts a skypager/node process with an ipc socket listener, once started can run scripts

If you have Skypager Webpack Utilities installed, you will get the following commands:

  • build runs a webpack compiler script
  • start starts a webpack dev server
  • watch starts a webpack compiler in watch mode

If you have Skypager Devtools installed, you will get the following commands:

  • test runs mocha-webpack in your project.

Script Runner

The skypager cli will run whatever script you tell it.

It will look for scripts in the current folder's scripts directory and prioritize those.

$ skypager build
$ skypager console
$ skypager test

When running skypager build

  • First it will look in the current working directory for a file called scripts/build.js
  • If it doesn't find it, it will check @skypager/webpack/scripts/build.js -- assuming you have @skypager/webpack installed
  • If it doesn't find it, it will check @skypager/devtools/scripts/build.js -- assuming you have @skypager/devtools installed

ESM / Babel Register Support

If you want / need your script to support babel syntax or es6 modules, you can pass the --babel or --esm flag to your command.

We will run the script with --require=esm or --require=@babel/register depending on which one you pass.

Debugging Support

To enable the debugger, pass the --debug or --inspect flags to skypager

$ skypager build --inspect
1.4.2

3 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.4

5 years ago

1.2.0

5 years ago

1.1.5

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.1-alpha.1

5 years ago

0.4.14

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.10

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.8

5 years ago

0.3.6

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.10

5 years ago

0.2.7

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago