Skip to content

Commit

Permalink
refactor: remove cli
Browse files Browse the repository at this point in the history
  • Loading branch information
WittBulter committed Jun 17, 2019
1 parent 9675b2b commit 91d15a0
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1,037 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
### koa2-typescript-guide
the best practice of building Koa2 with TypeScript. [中文](/README_CN.md)
### koa-ts
The best practice of building Koa2 with TypeScript. [中文](/README_CN.md)

<br>

#### Usage
**required [NodeJS > 8.0](https://nodejs.org/)**

1. Run `npx koa2-ts --name=hello`.
1. Run `npm init koa-ts`.

2. Install dependencies: `yarn` or `npm i`.

Expand Down Expand Up @@ -93,4 +93,4 @@ the best practice of building Koa2 with TypeScript. [中文](/README_CN.md)
<br>

### LICENSE
Licensed under the [MIT LICENSE](https://github.com/zeit-ui/vue/blob/master/LICENSE).
Licensed under the [MIT LICENSE](./LICENSE).
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## koa2-typescript-guide
## koa-ts
使用 TypeScript 构建 Koa2 项目的最佳实践.

<br>

### 快速开始
**项目依赖: [NodeJS > 8.0](https://nodejs.org/cn)**

1. 在终端输入: `npx koa2-ts --name=myproject` 即可快速初始化。
1. 在终端输入: `npm init koa-ts` 即可快速初始化。

2. 安装依赖: `yarn``npm i`

Expand Down Expand Up @@ -97,4 +97,4 @@
<br>

### LICENSE
[MIT](LICENSE)
[MIT](./LICENSE)
2 changes: 0 additions & 2 deletions cli/bin.js

This file was deleted.

62 changes: 0 additions & 62 deletions cli/bin/koa.ts

This file was deleted.

10 changes: 0 additions & 10 deletions cli/dev.sh

This file was deleted.

26 changes: 0 additions & 26 deletions cli/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions cli/tsconfig.json

This file was deleted.

Loading

0 comments on commit 91d15a0

Please sign in to comment.