[ADF-4733] Create an adf-cli dispatcher to run the docker-publish (#4914)

* Create an adf-cli dispatcher to run the docker-publish

* not needed

* fix typo comma

* Create the adf-cli dist folder that contains
-bin
-script
-package.json

Build the dist folder during the ADF CI/CI pipeline
This commit is contained in:
Maurizio Vitale
2019-07-10 15:06:35 +01:00
committed by Eugenio Romano
parent fadcc19eba
commit a6e18e6c1b
6 changed files with 5573 additions and 4 deletions
+8 -1
View File
@@ -5,7 +5,8 @@
"author": "Alfresco Software, Ltd.",
"bin": {
"adf-license": "./bin/doc/licenseList.js",
"adf-audit": "./bin/doc/audit.js"
"adf-audit": "./bin/doc/audit.js",
"adf-cli": "./bin/adf-cli"
},
"repository": {
"type": "git",
@@ -14,10 +15,16 @@
"bugs": {
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
},
"scripts": {
"build-tsc": "tsc -p tsconfig.json",
"dist": "rm -rf ./dist/ && npm run build-tsc && cp -R ./bin ./dist/ && cp ./package.json ./dist/"
},
"dependencies": {
"commander": "^2.15.1",
"license-checker": "^25.0.1",
"npm-registry-fetch": "^3.9.0",
"@angular-devkit/core": "^7.2.15",
"rxjs": ">=6.2.2",
"shelljs": "^0.8.3",
"spdx-license-list": "^5.0.0",
"ejs": "^2.6.1"