@iapetos/helpers
Useful builders for `@angular/cli` and utilities for writing your own builders.
Last updated 10 months ago by bgotink .
MIT · Original npm · Tarball · package.json
$ cnpm install @iapetos/helpers 
SYNC missed versions from official npm registry.

@iapetos/build-helpers

Useful builders for @angular/cli and utilities for writing your own builders.

Installation

yarn add -D @iapetos/build-helpers

Usage example

Build a package in your project by putting the following in your angular.json:

{
  "projects": {
    // Make a pseudo-project "all" that targets all projects
    "all": {
      "root": ".",
      "projectType": "library",
      "architect": {
        // Create the build target for all
        "build": {
          // Call the "build" target in all projects when this project is built.
          // Note that this project itself is automatically excluded to prevent loops.
          "builder": "@iapetos/build-helpers:glob",
          "options": {
            "include": "*"
          }
        }
      }
    },

    "some-name": {
      "root": "packages/some-name",
      "projectType": "library",
      "architect": {
        "build": {
          "builder": "@iapetos/build-helpers:combine",
          "options": {
            // The build target on the some-name project will first execute the generate target
            // on some-name, then run package on some-name.
            "targets": [
              "some-name:generate",
              "some-name:package"
            ]
          }
        },
        "generate": {/* ... */},
        "package": {/* ... */}
      }
    }
  }
}

Current Tags

  • 0.1.0                                ...           latest (10 months ago)

1 Versions

  • 0.1.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 4
Last Day 0
Last Week 2
Last Month 0
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |