From 02e79b4d13c9cac73dfb0f602b5dc55f6ea0b971 Mon Sep 17 00:00:00 2001 From: bclayton-usgs <bclayton@usgs.gov> Date: Wed, 15 Jul 2020 14:09:33 -0600 Subject: [PATCH] add exports --- package.json | 3 ++- projects/nshmp-template/src/public_api.ts | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 40b9433..625eb7a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "e2e": "ng e2e nhsmp-template", "e2e:example": "ng e2e example", "pre-commit": "pretty-quick --staged && npm run lint && npm run lint:example", - "pre-push": "npm run pre-commit && npm run build" + "pre-push": "npm run pre-commit && npm run build", + "postinstall": "ngcc" }, "private": true, "dependencies": { diff --git a/projects/nshmp-template/src/public_api.ts b/projects/nshmp-template/src/public_api.ts index 97833a5..7c04799 100644 --- a/projects/nshmp-template/src/public_api.ts +++ b/projects/nshmp-template/src/public_api.ts @@ -7,4 +7,12 @@ export * from './lib/models/navigation.model'; /* Modules */ export { NshmpTemplateModule } from './lib/nshmp-template.module'; +export * from './lib/modules/nshmp-layout.module'; export * from './lib/modules/material.module'; + +/* Components */ +export * from './lib/components/nshmp-template/nshmp-template.component'; +export * from './lib/components/footer/footer.component'; +export * from './lib/components/gov-banner/gov-banner.component'; +export * from './lib/components/header/header.component'; +export * from './lib/components/main-page/main-page.component'; -- GitLab