Skip to content

JinLei0920/jsbox-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsbox-cli

JSBox VSCode 插件的 cli 版本.

Travis NPM version

Installation

$ npm i jsbox-cli -g

Getting Started

设置手机端 Host IP

$ jsbox set 192.168.1.1

查看当前的 Host IP

$ jsbox host

监听一个目录或文件

# 监听当前目录
$ jsbox watch

# 监听指定目录
$ jsbox watch ./dist

# 监听指定文件
$ jsbox watch ./index.js

构建一个 JSBox 应用

# 构建当前目录, 默认生成到 .output
$ jsbox build

# 构建指定目录
$ jsbox build ./dist

# 自定义输出路径
$ jsbox build ./dist -o ./dist/output.box

About

JSBox Development Utilities on Node

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.4%
  • JavaScript 0.6%