Updated husky and install for prettier
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sambo Chea 2021-09-13 20:28:43 +07:00
parent ce813262c3
commit e0f16081b0
3 changed files with 25 additions and 15 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
npx lint-staged

View File

@ -1,23 +1,30 @@
# Express Nodejs App
- Nodejs
- Express
- TypeScript
- Prettier
- ESLint
- Docker
- DroneCI
- Lerna Support
# Quick Start
- Start
- Nodejs
- Express
- TypeScript
- Prettier
- ESLint
- Docker
- DroneCI
- Lerna Support
# Quickstart
- Start
```shell
yarn start
```
- Navigate
- Navigate
```shell
curl http://localhost:3000
```
- Response
- Response
```json
{
"startedAt": "2021-09-13T13:21:04.184Z",
@ -25,5 +32,7 @@ curl http://localhost:3000
"status": "OK"
}
```
### Contributors
- Sambo Chea <sombochea@cubetiqs.com>
- Sambo Chea <sombochea@cubetiqs.com>

View File

@ -9,7 +9,8 @@
"build": "rm -rf dist && tsc",
"serve": "yarn run build && node dist/app.js",
"bootstrap": "lerna bootstrap",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install"
},
"repository": {
"type": "git",