Utils for developing jsreport designer extensions
jsreport-designer-start
starts the jsreport designer in the development mode with hot reloading used for developing custom extensions.
jsreport-designer-build
command should be run from the main extension directory. It automatically locates designer/main_dev.js
and build it. The most common approach is to run it from the package.json
prepublish
script. It's also recommended to additionally install and use in-publish module to assure the jsreport-designer-build
does run only during npm publish.
"scripts": {
"prepublish": "in-publish && jsreport-designer-build || not-in-publish"
}