chore: add build:watch script in root

This commit is contained in:
Ali BARIN
2022-04-08 21:18:01 +02:00
committed by Ömer Faruk Aydın
parent c227dc86bb
commit 79fb62d409
3 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
},
"scripts": {
"build": "shx rm -rf dist && tsc -b",
"dev": "nodemon --watch 'src/**/*.ts' --exec 'shx rm -rf dist && tsc -b' --ext 'ts'",
"build:watch": "nodemon --watch 'src/**/*.ts' --exec 'shx rm -rf dist && tsc -b' --ext 'ts'",
"lint": "eslint . --ext .ts --ignore-path ../../.eslintignore",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "yarn lint",