UNPKG

@kv-systems/ng-packagr

Version:

Compile and package Angular libraries in Angular Package Format (APF)

14 lines (10 loc) 375 B
const path = require('path'); process.env.DEBUG = true; // @see https://github.com/TypeStrong/ts-node#programmatic-usage require('ts-node').register({ project: path.join(__dirname, '..', '..', '..', 'tsconfig.packagr.json') }); const ngPackagr = require('../../../src/lib/ng-packagr'); ngPackagr.createNgPackage({ project: path.resolve(__dirname, 'ng-package.js') });