Skip to content

Commit

Permalink
chore(nodemon): add nodemon for develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-David committed Jun 24, 2022
1 parent 15817da commit c90b4db
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"watch": ["src", "test"],
"ignore": ["test/dist"],
"ext": "js, ts",
"exec": "npx pkgroll && npx vitest run"
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"bugs": "https://github.com/davipon/esbuild-plugin-pino/issues",
"scripts": {
"prepare": "husky install",
"dev": "nodemon",
"build": "pkgroll",
"test": "rm -rf dist && pkgroll && vitest run",
"format": "prettier --write .",
Expand Down Expand Up @@ -50,6 +51,7 @@
"husky": "^8.0.1",
"inquirer": "^8.2.4",
"lint-staged": "^13.0.2",
"nodemon": "^2.0.18",
"pino": "^8.0.0",
"pino-loki": "^2.0.0",
"pino-pretty": "^8.0.0",
Expand Down
Loading

0 comments on commit c90b4db

Please sign in to comment.