A CLI tool for building custom Handsontable spreadsheet component.
Install the tool using npm.
npm install hot-builder -g
Builds custom version of handsontable.
Arguments:
-i, --input
- The path to a directory where Handsontable repository was downloaded.-o, --output-dir
- Output directory where generated bundle will be saved.-a, --include-all
- Includes all found modules into a generated bundle.-A, --add-module
- Includes specified modules into a generated bundle (eg.-A ContextMenu,ManualRowMove,TrimRows
).-R, --remove-module
- Excludes specified modules from a generated bundle (eg.-R ContextMenu,ManualRowMove,TrimRows
).-U, --no-ui
- Disables the UI.--repository-tag
- Specifies which version of Handsontable repository will be cloned (eg.--repository-tag develop
, or--repository-tag 7.0.0
). This option is active only if you omitted-i
,--input
argument.--debug
- Debug mode - will output debug messages from workers.
Displays hot-builder
help information.
Prints the installed hot-builder
version.
Build your custom Handsontable package (from the Handsontable remote repository)
$ hot-builder build -o hot-dist
Or build your custom Handsontable package using a local directory
$ hot-builder build -i path-to-your-handsontable-copy/ -o hot-dist
After executing command and selecting plugins, the builder automatically resolves all plugins and external libraries before building a package in the hot-dist
directory.
If it works correctly, you should see something like:
Additional examples:
- Building Handsontable package from the remote repository
- Building Handsontable package from a local directory
- Building Handsontable PRO package from the remote repository
- Building Handsontable package with specified plugins only
hot-builder
is released under the MIT license.
Copyrights belong to Handsoncode sp. z o.o.
Feel free to give us feedback on this tool using this contact form or write directly at [email protected].