CLI tool for building custom handsontable package
Install the component using NPM:
$ npm install hot-builder -g
Build your custom handsontable package (from oryginal handsontable repository)
$ hot-builder build --output hot-dist
Or build your custom handsontable package (from your handsontable repository)
$ hot-builder build --input your-handsontable/package.json --output hot-dist
After executing command and selecting plugins builder automatically resolve all plugins and external libraries dependencies and build package in hot-dist
directory.
If it works correctly, you should see something like:
Build custom version of handsontable.
Arguments:
--input, -i
- Input package.json file (default entry point is Handsontable which is added as dependency to hot-builder -node_modules/handsontable/package.json
).--output-dir, -o
- Output directory.--all, -a
- If exists it includes by default all found modules.--add-module
- Adds specified module to build package (eg.--add-module=ContextMenu,AutocompleteEditor
or--add-module=ContextMenu --add-module=AutocompleteEditor
).--remove-module
- Removes specified module from build package (eg.--remove-module=ContextMenu,AutocompleteEditor
or--remove-module=ContextMenu --remove-module=AutocompleteEditor
).--minify
- Generate additionally minified files.--disable-ui, -D
- Disable UI.
Display hot-builder
help.
Print the hot-builder
version.
- Write tests