命令行参数解析#2
正在显示
.gitlab/issue_templates/bug_template.md
0 → 100644
| ... | ... | @@ -3,12 +3,16 @@ |
| "version": "0.1.0", | ||
| "description": "qj-vue-cli", | ||
| "main": "index.js", | ||
| "bin": { | ||
| "qj-cli": "dist/bin/index.js" | ||
| }, | ||
| "scripts": { | ||
| "watch-node": "nodemon dist/index.js", | ||
| "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", | ||
| "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": { | ||
| "type": "git", | ||
| ... | ... | @@ -34,6 +38,7 @@ |
| "typescript": "^3.7.3" | ||
| }, | ||
| "dependencies": { | ||
| "chalk": "^3.0.0", | ||
| "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
请
注册
或者
登录
后发表评论