From 280c188a27f5237bed302717a516965d11cd1d4a Mon Sep 17 00:00:00 2001 From: Igor Karpov Date: Sat, 6 Jul 2019 14:51:59 +0300 Subject: [PATCH] Add build script. --- package.json | 3 +- projects/ngx-calendar/package.json | 48 +++++++++++++++--------------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 73ff796..c19b1d5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build" + "build": "ng build", + "build:lib": "ng build ngx-calendar && copy README.md dist\\ngx-calendar && copy LICENSE dist\\ngx-calendar" }, "private": true, "dependencies": { diff --git a/projects/ngx-calendar/package.json b/projects/ngx-calendar/package.json index c3d0603..b4e12a8 100644 --- a/projects/ngx-calendar/package.json +++ b/projects/ngx-calendar/package.json @@ -1,26 +1,26 @@ { - "name": "ss-ngx-calendar", - "description": "Calendar component for Angular.", - "version": "1.0.0", - "main": "./src/lib/ngx-calendar.component.ts", - "repository": { - "type": "git", - "url": "https://github.com/Shad1ks/ngx-calendar.git" - }, - "peerDependencies": { - "@angular/common": "^6.0.0", - "@angular/core": "^6.0.0", - "moment": "^2.3.0" - }, - "keywords": [ - "calendar", - "moment", - "angular" - ], - "author": "Igor Karpov (http://github.com/Shad1ks)", - "license": "MIT", - "bugs": { - "url": "https://github.com/Shad1ks/ngx-calendar/issues" - }, - "homepage": "https://github.com/Shad1ks/ngx-calendar" + "name": "ss-ngx-calendar", + "description": "Calendar component for Angular.", + "version": "1.0.1", + "main": "./src/lib/ngx-calendar.component.ts", + "repository": { + "type": "git", + "url": "https://github.com/Shad1ks/ngx-calendar.git" + }, + "peerDependencies": { + "@angular/common": "^6.0.0", + "@angular/core": "^6.0.0", + "moment": "^2.15.0" + }, + "keywords": [ + "calendar", + "moment", + "angular" + ], + "author": "Igor Karpov (http://github.com/Shad1ks)", + "license": "MIT", + "bugs": { + "url": "https://github.com/Shad1ks/ngx-calendar/issues" + }, + "homepage": "https://github.com/Shad1ks/ngx-calendar" } \ No newline at end of file