Yeoman generator
Not every new computer comes with a Yeoman pre-installed. Run the following command to make sure you have it installed.
npm install -g yo
To install generator-dolphin-addon from npm, run:
npm install -g generator-dolphin-addon
Finally, to create a new dolphin addon using the generator:
mkdir addon-name
cd addon-name
yo dolphin-addon
After Yeoman has created the addon framework, feel free to adjust the package.json
file and run gulp
from your command line to get a runnable addon.
Available generators:
Generates an action in src/actions
.
Example:
yo dolphin-addon:action
Generates a column definition in src/column-defs
.
Example:
yo dolphin-addon:column
Generates a validation in src/validations
.
Example:
yo dolphin-addon:validation
MIT