Skip to content

Commit

Permalink
fix(deps): add typescript package to dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Mar 28, 2021
1 parent 19648ac commit ce3ed49
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ less-framework 让你开箱即用 less-api, 内置基于角色的权限控制
npm install
```

### 启动 MongoDb
```sh
docker run -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=less -e MONGO_INITDB_ROOT_PASSWORD=less --name mongo -d mongo
```

### 配置数据库 (MongoDb)
`/src/config.ts`

Expand Down
22 changes: 21 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@types/multer": "^1.4.5",
"@types/uuid": "^8.3.0",
"@types/validator": "^13.1.3",
"husky": "^5.2.0"
"husky": "^5.2.0",
"typescript": "^4.2.3"
}
}

0 comments on commit ce3ed49

Please sign in to comment.