refactor(cli): npm run dev starts nodemon&watch

Fixed #431.
This commit is contained in:
Hendy Irawan 2020-04-01 01:22:45 +07:00
parent 263c1eee1d
commit faeb5028b4

View file

@ -20,7 +20,7 @@
},
"scripts": {
"build": "tsc",
"dev": "nodemon",
"dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"",
"postpack": "rm -f oclif.manifest.json",
"prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest",
"start": "run-script-os",
@ -64,6 +64,7 @@
"@types/open": "^6.1.0",
"@types/parseurl": "^1.3.1",
"@types/request-promise-native": "^1.0.15",
"concurrently": "^5.1.0",
"jest": "^24.9.0",
"nodemon": "^2.0.2",
"p-cancelable": "^2.0.0",