Updated husky and install for prettier
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ce813262c3
commit
e0f16081b0
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
35
README.md
35
README.md
@ -1,23 +1,30 @@
|
|||||||
# Express Nodejs App
|
# Express Nodejs App
|
||||||
- Nodejs
|
|
||||||
- Express
|
|
||||||
- TypeScript
|
|
||||||
- Prettier
|
|
||||||
- ESLint
|
|
||||||
- Docker
|
|
||||||
- DroneCI
|
|
||||||
- Lerna Support
|
|
||||||
|
|
||||||
# Quick Start
|
- Nodejs
|
||||||
- Start
|
- Express
|
||||||
|
- TypeScript
|
||||||
|
- Prettier
|
||||||
|
- ESLint
|
||||||
|
- Docker
|
||||||
|
- DroneCI
|
||||||
|
- Lerna Support
|
||||||
|
|
||||||
|
# Quickstart
|
||||||
|
|
||||||
|
- Start
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
yarn start
|
yarn start
|
||||||
```
|
```
|
||||||
- Navigate
|
|
||||||
|
- Navigate
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl http://localhost:3000
|
curl http://localhost:3000
|
||||||
```
|
```
|
||||||
- Response
|
|
||||||
|
- Response
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"startedAt": "2021-09-13T13:21:04.184Z",
|
"startedAt": "2021-09-13T13:21:04.184Z",
|
||||||
@ -25,5 +32,7 @@ curl http://localhost:3000
|
|||||||
"status": "OK"
|
"status": "OK"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
- Sambo Chea <sombochea@cubetiqs.com>
|
|
||||||
|
- Sambo Chea <sombochea@cubetiqs.com>
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"build": "rm -rf dist && tsc",
|
"build": "rm -rf dist && tsc",
|
||||||
"serve": "yarn run build && node dist/app.js",
|
"serve": "yarn run build && node dist/app.js",
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user