fix build cli

This commit is contained in:
Eugenio Romano 2020-05-18 18:28:34 +01:00
parent 7b823834bc
commit a23f000e53

View File

@ -15,9 +15,11 @@
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues" "url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
}, },
"scripts": { "scripts": {
"build": "tsc -p tsconfig.json", "build": "npm run tsc -p tsconfig.json",
"develop": "tsc -p tsconfig.json --watch", "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/" "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": { "dependencies": {
"commander": "^4.0.0", "commander": "^4.0.0",