From 873595618330b348ace8b26e6bdfcfec7abfb736 Mon Sep 17 00:00:00 2001 From: Roman Ternavskyi Date: Wed, 3 Aug 2022 13:12:55 +0300 Subject: [PATCH 1/2] Update build script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 997d6e6..2f13369 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", + "build:lib": "ng build ngx-flow", + "build:demo": "ng build ngx-flow-demo", "watch": "ng build --watch --configuration development", "test": "ng test", "test:ci": "ng test ngx-flow --watch=false --browsers ChromeHeadless --code-coverage", From 68c50345de328e8fedc441c35ca1f870caa6adf1 Mon Sep 17 00:00:00 2001 From: Roman Ternavskyi Date: Wed, 3 Aug 2022 13:54:30 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d836797..1de6aaf 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ export class AppComponent implements AfterViewInit, OnDestroy { ### Development -`npm run build` - builds the library into dist folder +`npm run build:lib` - builds the library into dist folder After that you can publish to npm repository from `dist` folder: