@skypager/cli
the skypager CLI
Last updated a year ago by soederpop .
MIT · Original npm · Tarball · package.json
$ cnpm install @skypager/cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.3.2                                ...           beta (a year ago)
  • 1.3.1                                ...           latest (a year ago)

72 Versions

  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.1-alpha.1                                ...           a year ago
  • 0.4.14                                ...           a year ago
  • 0.4.12                                ...           a year ago
  • 0.4.11                                ...           a year ago
  • 0.4.10                                ...           a year ago
  • 0.4.9                                ...           a year ago
  • 0.4.8                                ...           a year ago
  • 0.4.7                                ...           a year ago
  • 0.4.6                                ...           a year ago
  • 0.4.5                                ...           a year ago
  • 0.4.3                                ...           a year ago
  • 0.4.2                                ...           a year ago
  • 0.4.1                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.8                                ...           a year ago
  • 0.3.6                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.10                                ...           a year ago
  • 0.2.7                                ...           a year ago
  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.1.30                                ...           a year ago
  • 0.1.29                                ...           a year ago
  • 0.1.28                                ...           a year ago
  • 0.1.27                                ...           a year ago
  • 0.1.26                                ...           a year ago
  • 0.1.25                                ...           a year ago
  • 0.1.24                                ...           a year ago
  • 0.1.23                                ...           a year ago
  • 0.1.21                                ...           2 years ago
  • 0.1.20                                ...           2 years ago
  • 0.1.19                                ...           2 years ago
  • 0.1.18                                ...           2 years ago
  • 0.1.16                                ...           2 years ago
  • 0.1.15                                ...           2 years ago
  • 0.1.14                                ...           2 years ago
  • 0.1.13                                ...           2 years ago
  • 0.1.12                                ...           2 years ago
  • 0.1.11                                ...           2 years ago
  • 0.1.10                                ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 2
Dependencies (16)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |