1.5.0 • Published 7 years ago

@dcs/ngx-build-tools v1.5.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

npm Build Status Commitizen friendly

@dcs/ngx-build-tools

Some command line tools to aid in developing angular library npm packages.

Install

npm install --save-dev @dcs/ngx-build-tools

Then use the commands in your build process (like package.json scripts).

CLI

ngx-build-watch

This command watches for changes in the specified target directory (all files not just .ts), inlines templates and styles into angular components and does an (incremental) rollup build:

ngx-build-watch --config rollup.config.js --target ./src

ngx-build-package-json

This command takes the development package.json (with devDependencies, scripts ...) and builds a production one for the build directory.

ngx-build-package-json --source package.json --destination build/paclage.json

ngx-inline-styles

This command inlines all templates and styles of angular components in a specified directory, compiling sass and adding postcss transformations.

ngx-inline-styles --cssGlob 'src/**/*.component.scss' --componentsGlob 'src/**/*.component.ts' --postcssConfig my-postcss.config.js
1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago