Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 38fd650

Browse files
committed
Add npm run dev with watch mode
1 parent 2f08282 commit 38fd650

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

package-lock.json

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "Hapi plugin for enabling/enforcing JSONAPI specification",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "lab -c",
7+
"dev": "fsmonitor -s -p '+*.js' npm test",
88
"lint": "eslint . -c .eslintrc",
9+
"test": "lab -c",
910
"validate": "npm ls"
1011
},
1112
"keywords": [
@@ -34,6 +35,7 @@
3435
"eslint": "^4.19.1",
3536
"eslint-config-hapi": "^11.1.0",
3637
"eslint-plugin-hapi": "^4.1.0",
38+
"fsmonitor": "^0.2.4",
3739
"git-validate": "^2.2.2",
3840
"hapi": "^17.2.3",
3941
"lab": "^15.4.1"

0 commit comments

Comments
 (0)