Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

pirxpilot/make-component-shrinkwrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

component related make target for component-shrinkwrap workflow

Resources

Stars

Watchers

Forks

Packages

No packages published