From 59701c1d9ae61b183037f89ccb52105c593ca844 Mon Sep 17 00:00:00 2001 From: "Suwart, Jan" Date: Sun, 2 Dec 2018 15:50:27 +0100 Subject: [PATCH] Include example image copy into dist build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a6a05e2..a283e2a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "build": "ng build", "build:lib": "ng build --prod icon-sprite", "build:all": "npm run build:lib && ng build", - "postbuild:lib": "cpr ./README.md ./projects/icon-sprite/README.md -o", + "prebuild:lib": "cpr ./README.md ./projects/icon-sprite/README.md -o", + "postbuild:lib": "cpr ./projects/icon-sprite/svg-icon-sprite-example.png ./dist/ng-svg-icon-sprite/svg-icon-sprite-example.png -o", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e",