1.0.5 • Published 5 years ago

node-pack-run v1.0.5

Weekly downloads
4
License
ISC
Repository
-
Last release
5 years ago

node-pack-run

用于运行nodejs包中的脚本

在项目根目录(package.json所在的目录)运行此命令既可以运行package.json中制定的script脚本

安装

npm install -g node-pack-run

运行

如果package.json中配置了start命令,则会运行start命令,后可以跟参数

$ npr start -c config.json
server is linsten on 3000

如果直接运行npr命令则会列出所有命令

$ npr
build
clear
start
test
1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago