https://github.com/jsreport/jsreport-studio-dev
Utils for developing jsreport studio extensions
https://github.com/jsreport/jsreport-studio-dev
Last synced: about 1 year ago
JSON representation
Utils for developing jsreport studio extensions
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-studio-dev
- Owner: jsreport
- License: mit
- Created: 2016-06-10T14:33:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T16:48:12.000Z (almost 5 years ago)
- Last Synced: 2024-04-25T23:22:24.867Z (about 2 years ago)
- Language: JavaScript
- Size: 275 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**
--
# jsreport-studio-dev
[](https://npmjs.com/package/jsreport-studio-dev)
> **Utils for developing jsreport studio extensions**
## jsreport-studio-start
`jsreport-studio-start` starts the jsreport studio in the development mode with hot reloading used for developing custom extensions.
## jsreport-studio-build
`jsreport-studio-build` command should be run from the main extension directory. It automatically locates `studio/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](https://github.com/iarna/in-publish) module to assure the `jsreport-studio-build` does run only during npm publish.
```js
"scripts": {
"prepublish": "in-publish && jsreport-studio-build || not-in-publish"
}
```