1.0.0 • Published 10 years ago

make-component-shrinkwrap v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

make-component-shrinkwrap

component related make target for component-shrinkwrap workflow

Installation

$ npm install --save-dev make-component-shrinkwrap

Example

Include:

PROJECT=my-super-app
BUILD_DIR=/path/to/build


include node_modules/make-component-shrinkwrap/index.mk

If SRC is set it's going to be used as a dependency.

Targets

  • component-install - installs components using components install (for the first time)
  • components - using shrinkwrap to install components
  • shrinkwrap - store currently installed state in component-shrinkwrap.json

  • $(BUILD_DIR)/$(PROJECT).js - .js file build by component - can be used as a dependency of your build target

License

MIT