From 4938aba0533bbb948d1046e3a8261f805e38dae7 Mon Sep 17 00:00:00 2001 From: Mohsen-MSK Date: Thu, 15 Aug 2024 23:33:31 +0330 Subject: [PATCH] Add publish script for windows --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dfe75a4..9327f7c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "test-lib": "ng test ngx-touch-keyboard --watch=false --browsers=ChromeHeadless", "test-demo": "ng test angular-touch-keyboard --watch=false --browsers=ChromeHeadless", "build-lib": "ng build ngx-touch-keyboard && cp -v README.md dist/ngx-touch-keyboard/", - "build-demo": "npm run build-lib && ng build --base-href /angular-touch-keyboard/" + "build-demo": "npm run build-lib && ng build --base-href /angular-touch-keyboard/", + "publish-win": "ng build ngx-touch-keyboard && copy \"README.md\" \"dist/ngx-touch-keyboard/\" && cd \"dist/ngx-touch-keyboard\" && npm publish" }, "dependencies": { "@angular/animations": "^16.0.4", @@ -40,4 +41,4 @@ "ng-packagr": "^16.0.1", "typescript": "~5.0.4" } -} \ No newline at end of file +}