fix: move nodemon config to separate package.json property
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
|
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon --watch src/**/*.js --exec node src/server.js",
|
"dev": "nodemon --exec node src/server.js",
|
||||||
"worker": "nodemon --watch src/**/*.js --exec node src/worker.js",
|
"worker": "nodemon --exec node src/worker.js",
|
||||||
"start": "node src/server.js",
|
"start": "node src/server.js",
|
||||||
"start:worker": "node src/worker.js",
|
"start:worker": "node src/worker.js",
|
||||||
"pretest": "APP_ENV=test node ./test/setup/prepare-test-env.js",
|
"pretest": "APP_ENV=test node ./test/setup/prepare-test-env.js",
|
||||||
@@ -103,5 +103,9 @@
|
|||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nodemonConfig": {
|
||||||
|
"watch": [ "src/" ],
|
||||||
|
"ext": "js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user