feat: 初始化egg模板
parents
Showing
.autod.conf.js
0 → 100644
.eslintignore
0 → 100644
.eslintrc
0 → 100644
.github/workflows/nodejs.yml
0 → 100644
.gitignore
0 → 100644
.travis.yml
0 → 100644
.vcmrc
0 → 100644
README.md
0 → 100644
app/controller/home.ts
0 → 100644
app/extend/helper.ts
0 → 100644
app/router.ts
0 → 100644
app/routers/home.ts
0 → 100644
app/service/account.ts
0 → 100644
app/view/base.html
0 → 100644
app/view/login.html
0 → 100644
appveyor.yml
0 → 100644
config/config.default.ts
0 → 100644
config/config.dev.ts
0 → 100644
config/config.local.ts
0 → 100644
config/config.prod.ts
0 → 100644
config/plugin.ts
0 → 100644
package.json
0 → 100644
| { | |||
| "name": "geek-egg-template", | |||
| "version": "1.0.0", | |||
| "description": "极客数学egg项目模板", | |||
| "private": true, | |||
| "egg": { | |||
| "typescript": true, | |||
| "declarations": true | |||
| }, | |||
| "scripts": { | |||
| "start": "egg-scripts start --daemon --title=egg-server-geek-egg-template", | |||
| "stop": "egg-scripts stop --title=egg-server-geek-egg-template", | |||
| "dev": "egg-bin dev", | |||
| "debug": "egg-bin debug", | |||
| "test-local": "egg-bin test", | |||
| "test": "npm run lint -- --fix && npm run test-local", | |||
| "cov": "egg-bin cov", | |||
| "tsc": "ets && tsc -p tsconfig.json", | |||
| "ci": "npm run lint && npm run cov && npm run tsc", | |||
| "autod": "autod", | |||
| "lint": "eslint . --ext .ts", | |||
| "clean": "ets clean" | |||
| }, | |||
| "dependencies": { | |||
| "egg": "^2.6.1", | |||
| "egg-jwt": "^3.1.7", | |||
| "egg-router-plus": "^1.3.1", | |||
| "egg-scripts": "^2.6.0", | |||
| "egg-validate": "^2.0.2", | |||
| "egg-view-nunjucks": "^2.2.0", | |||
| "moment": "^2.27.0" | |||
| }, | |||
| "devDependencies": { | |||
| "@types/mocha": "^2.2.40", | |||
| "@types/node": "^7.0.12", | |||
| "@types/supertest": "^2.0.0", | |||
| "autod": "^3.0.1", | |||
| "autod-egg": "^1.1.0", | |||
| "egg-bin": "^4.11.0", | |||
| "egg-ci": "^1.8.0", | |||
| "egg-mock": "^3.16.0", | |||
| "egg-swagger-doc": "^2.3.2", | |||
| "eslint": "^6.7.2", | |||
| "eslint-config-egg": "^8.0.0", | |||
| "husky": "^4.2.5", | |||
| "tslib": "^1.9.0", | |||
| "typescript": "^3.0.0", | |||
| "validate-commit-msg": "^2.14.0" | |||
| }, | |||
| "engines": { | |||
| "node": ">=8.9.0" | |||
| }, | |||
| "ci": { | |||
| "version": "8" | |||
| }, | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "" | |||
| }, | |||
| "eslintIgnore": [ | |||
| "coverage" | |||
| ], | |||
| "author": "huanglu", | |||
| "license": "MIT", | |||
| "husky": { | |||
| "hooks": { | |||
| "commit-msg": "validate-commit-msg" | |||
| } | |||
| } | |||
| } |
tsconfig.json
0 → 100644
typings/app/index.d.ts
0 → 100644
typings/config/index.d.ts
0 → 100644
typings/config/plugin.d.ts
0 → 100644
typings/index.d.ts
0 → 100644
Please
register
or
sign in
to comment