Skip to content

Commit

Permalink
chore: ignore "dist" in nodemon, add new scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-David committed Jun 24, 2022
1 parent c90b4db commit 41b0f3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"watch": ["src", "test"],
"ignore": ["test/dist"],
"ignore": ["dist", "test/dist"],
"ext": "js, ts",
"exec": "npx pkgroll && npx vitest run"
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@
"prepare": "husky install",
"dev": "nodemon",
"build": "pkgroll",
"buildJS": "pkgroll && node test/buildScripts/buildJS.js",
"buildTS": "pkgroll && tsx test/buildScripts/buildTS.ts",
"test": "rm -rf dist && pkgroll && vitest run",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"cz": "cz",
"release": "standard-version --no-verify",
"release:major": "standard-version --no-verify --release-as major",
"release:minor": "standard-version --no-verify --release-as minor",
"release:patch": "standard-version --no-verify --release-as patch"
},
"keywords": [
Expand Down

0 comments on commit 41b0f3a

Please sign in to comment.