init
正在显示
.gitignore
0 → 100644
README.md
0 → 100644
bash.sh
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100644
{ | ||
"name": "node-ts", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.ts", | ||
"scripts": { | ||
"ts": "tsc --watch", | ||
"start": "nodemon build/app.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"shell": "sh bash.sh" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"eureka-js-client": "4.4.2", | ||
"koa": "^2.11.0", | ||
"koa-body": "^4.1.3", | ||
"koa-swagger-decorator": "^1.6.4", | ||
"mongoose": "^5.9.16", | ||
"nodemon": "^2.0.4", | ||
"os": "^0.1.1", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
"devDependencies": { | ||
"@types/eureka-js-client": "^4.5.2", | ||
"@types/koa": "^2.11.3", | ||
"@types/mongoose": "^5.7.21", | ||
"@types/nodemon": "^1.19.0" | ||
} | ||
} |
src/app.ts
0 → 100644
src/config/config.ts
0 → 100644
src/controller/test.ts
0 → 100644
src/dao/index.ts
0 → 100644
src/db/mongo.ts
0 → 100644
src/eureka/index.ts
0 → 100644
src/middleware/rest.ts
0 → 100644
src/model/test.ts
0 → 100644
src/service/index.ts
0 → 100644
src/swagger/index.ts
0 → 100644
src/types/global.d.ts
0 → 100644
src/util/error_handle.ts
0 → 100644
src/util/utils.ts
0 → 100644
tsconfig.json
0 → 100644
请
注册
或者
登录
后发表评论