From 8d4013099020d265710b8c3dd81ed99a38bc3fe4 Mon Sep 17 00:00:00 2001 From: ManfredSteyer Date: Mon, 14 May 2018 22:20:30 +0200 Subject: [PATCH] 4.0.0 --- package-lock.json | 20 ++++++++++++++++++++ package.json | 7 ++++--- projects/lib/package.json | 6 +++++- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 734810d7..fb4d3999 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2490,6 +2490,26 @@ } } }, + "cpr": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cpr/-/cpr-3.0.1.tgz", + "integrity": "sha1-uaVQOLfNgaNcF7l2GJW9hJau8eU=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "minimist": "1.2.0", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, "cpx": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/cpx/-/cpx-1.5.0.tgz", diff --git a/package.json b/package.json index 1c54bf49..d0735f5c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "ng": "ng", "start": "ng serve --project sample -o", - "build": "ng build --prod --project lib", + "build": "ng build --prod --project lib && npm run copy:readme", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", @@ -14,8 +14,9 @@ "docs:build": "compodoc -p projects/lib/tsconfig.lib.json -n angular-oauth2-oidc -d docs --hideGenerator", "docs:serve": "npm run docs:build -- -s", "docs:watch": "npm run docs:build -- -s -w", - "format": "prettier --single-quote --write projects/**/*.ts" - }, + "format": "prettier --single-quote --write projects/**/*.ts", + "copy:readme": "cpr README.md dist/lib/README.md --overwrite" + }, "private": true, "dependencies": { "@angular/animations": "6.0.0", diff --git a/projects/lib/package.json b/projects/lib/package.json index 1df1686d..e41bbaa1 100644 --- a/projects/lib/package.json +++ b/projects/lib/package.json @@ -1,5 +1,9 @@ { - "name": "lib", + "name": "angular-oauth2-oidc", + "license": "MIT", + "author": { + "name": "Manfred Steyer" + }, "version": "4.0.0", "dependencies": { "jsrsasign": "^8.0.12"