Commit 7332e990 authored by rockyl's avatar rockyl

增加自动识别paths配置

parent 34253ff3
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
const program = require('commander'); const program = require('commander');
program program
.version('1.0.2') .version('1.0.3')
.description('game command line interface') .description('game command line interface')
.command('init [name]', 'Initialize a project with template').alias('i') .command('init [name]', 'Initialize a project with template').alias('i')
.command('mock', 'Mock server').alias('m') .command('mock', 'Mock server').alias('m')
......
{ {
"name": "game-cli", "name": "game-cli",
"version": "1.0.2", "version": "1.0.3",
"description": "game command-line interface for duiba game developing", "description": "game command-line interface for duiba game developing",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"bin": "bin/cli.js", "bin": "bin/game-cli.js",
"author": "rocky.l", "author": "rocky.l",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment