diff --git a/lib/cli/package.json b/lib/cli/package.json index 110db394c2..8b9cc86069 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -15,9 +15,11 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "scripts": { - "build": "tsc -p tsconfig.json", - "develop": "tsc -p tsconfig.json --watch", - "dist": "rm -rf ./dist/ && npm run build && cp -R ./bin ./dist/ && cp -R ./templates ./dist && cp ./package.json ./dist/" + "build": "npm run tsc -p tsconfig.json", + "develop": "npm run tsc:w -p tsconfig.json", + "dist": "rm -rf ./dist/ && npm run build && cp -R ./bin ./dist/ && cp -R ./templates ./dist && cp ./package.json ./dist/", + "tsc": "./node_modules/typescript/bin/tsc", + "tsc:w": "./node_modules/typescript/bin/tsc -w" }, "dependencies": { "commander": "^4.0.0",