🔀 Merge pull request #434 from ceefour/rundev-fix

refactor(cli): `npm run dev` starts nodemon&watch
This commit is contained in:
Jan 2020-04-01 00:00:12 +02:00 committed by GitHub
commit c5e8f9f023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
}, },
"scripts": { "scripts": {
"build": "tsc", "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", "postpack": "rm -f oclif.manifest.json",
"prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest",
"start": "run-script-os", "start": "run-script-os",
@ -64,6 +64,7 @@
"@types/open": "^6.1.0", "@types/open": "^6.1.0",
"@types/parseurl": "^1.3.1", "@types/parseurl": "^1.3.1",
"@types/request-promise-native": "^1.0.15", "@types/request-promise-native": "^1.0.15",
"concurrently": "^5.1.0",
"jest": "^24.9.0", "jest": "^24.9.0",
"nodemon": "^2.0.2", "nodemon": "^2.0.2",
"p-cancelable": "^2.0.0", "p-cancelable": "^2.0.0",