Implement a pre-publish script to include build distributions for Infusion
Description
For the Infusion 2.0 release we'd like to improve the use of Infusion, through NPM, for integrators, specifically those making use of UI components.
This will just be a preliminary and potentially temporary approach until a more robust solution is developed ( see: ).
This Approach
Use a pre-publish script to create a "dist" directory containing various pre-built instances of infusion plus a copy of the entire source. Pre-built infusions should include framework only, infusion all, and no jquery variants of them. May also want to include minified versions as well as source.
For the Infusion 2.0 release we'd like to improve the use of Infusion, through NPM, for integrators, specifically those making use of UI components.
This will just be a preliminary and potentially temporary approach until a more robust solution is developed ( see: ).
This Approach
Use a pre-publish script to create a "dist" directory containing various pre-built instances of infusion plus a copy of the entire source. Pre-built infusions should include framework only, infusion all, and no jquery variants of them. May also want to include minified versions as well as source.
Structure:
dist/
infusion.js
...
assets/
componets/
framework/
lib/