@dcs/ngx-build-tools
Tools and helpers to support dev and production build of angular apps
Last updated 2 years ago by dcs .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dcs/ngx-build-tools 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.5.0                                ...           latest (2 years ago)

15 Versions

  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dev Dependencies (29)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |