命令行参数解析#2
正在显示
.gitlab/issue_templates/bug_template.md
0 → 100644
| ... | @@ -3,12 +3,16 @@ | ... | @@ -3,12 +3,16 @@ |
| "version": "0.1.0", | "version": "0.1.0", | ||
| "description": "qj-vue-cli", | "description": "qj-vue-cli", | ||
| "main": "index.js", | "main": "index.js", | ||
| "bin": { | |||
| "qj-cli": "dist/bin/index.js" | |||
| }, | |||
| "scripts": { | "scripts": { | ||
| "watch-node": "nodemon dist/index.js", | |||
| "watch-ts": "tsc -w", | "watch-ts": "tsc -w", | ||
| "dev": "concurrently \"npm run watch-ts\" \"npm run watch-node\"", | "watch-bin": "nodemon dist/bin/index.js create vue2.0 hello", | ||
| "dev": "concurrently \"npm run watch-ts\" \"npm run watch-bin\"", | |||
| "build": "tsc", | "build": "tsc", | ||
| "test": "mocha -r ts-node/register dist/**/*.test.js" | "dev-link": "npm run build && npm unlink && npm link", | ||
| "test": "mocha -r ts-node/register src/test/**/*.test.ts" | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -34,6 +38,7 @@ | ... | @@ -34,6 +38,7 @@ |
| "typescript": "^3.7.3" | "typescript": "^3.7.3" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "chalk": "^3.0.0", | |||
| "commander": "^4.0.1" | "commander": "^4.0.1" | ||
| } | } | ||
| } | } |
src/bin/create.ts
deleted
100644 → 0
src/bin/index.ts
0 → 100644
src/index.ts
deleted
100644 → 0
src/lib/listTemplates.ts
0 → 100644
src/test/config/template.config.test.ts
0 → 100644
src/test/index.test.ts
deleted
100644 → 0
请
注册
或者
登录
后发表评论