Initial commit
Showing
.editorconfig
0 → 100644
.eslintrc.json
0 → 100644
.gitignore
0 → 100644
.prettierrc.js
0 → 100644
.vscode/settings.json
0 → 100644
README.md
0 → 100644
README.zh-CN.md
0 → 100644
bootstrap.js
0 → 100644
jest.config.js
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "my-midway-project", | ||
| "version": "1.0.0", | ||
| "description": "", | ||
| "private": true, | ||
| "dependencies": { | ||
| "@midwayjs/axios": "^3.11.6", | ||
| "@midwayjs/bootstrap": "^3.0.0", | ||
| "@midwayjs/core": "^3.0.0", | ||
| "@midwayjs/decorator": "^3.0.0", | ||
| "@midwayjs/info": "^3.0.0", | ||
| "@midwayjs/koa": "^3.0.0", | ||
| "@midwayjs/logger": "^2.14.0", | ||
| "@midwayjs/validate": "^3.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@midwayjs/cli": "^2.0.0", | ||
| "@midwayjs/mock": "^3.0.0", | ||
| "@types/jest": "^29.2.0", | ||
| "@types/koa": "^2.13.4", | ||
| "@types/node": "14", | ||
| "cross-env": "^6.0.0", | ||
| "jest": "^29.2.2", | ||
| "mwts": "^1.0.5", | ||
| "ts-jest": "^29.0.3", | ||
| "typescript": "~4.8.0" | ||
| }, | ||
| "engines": { | ||
| "node": ">=12.0.0" | ||
| }, | ||
| "scripts": { | ||
| "start": "NODE_ENV=production node ./bootstrap.js", | ||
| "dev": "cross-env NODE_ENV=local midway-bin dev --ts", | ||
| "test": "midway-bin test --ts", | ||
| "cov": "midway-bin cov --ts", | ||
| "lint": "mwts check", | ||
| "lint:fix": "mwts fix", | ||
| "ci": "npm run cov", | ||
| "build": "midway-bin build -c" | ||
| }, | ||
| "midway-bin-clean": [ | ||
| ".vscode/.tsbuildinfo", | ||
| "dist" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "" | ||
| }, | ||
| "author": "anonymous", | ||
| "license": "MIT" | ||
| } |
src/config/config.default.ts
0 → 100644
src/configuration.ts
0 → 100644
src/filter/default.filter.ts
0 → 100644
src/interface.ts
0 → 100644
src/service/user.service.ts
0 → 100644
test/controller/api.test.ts
0 → 100644
test/controller/home.test.ts
0 → 100644
tsconfig.json
0 → 100644
Please register or sign in to comment