1.0.5 • Published 7 years ago

node-pack-run v1.0.5

Weekly downloads
4
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago