An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**
--

# jsreport-studio-dev

[![NPM Version](http://img.shields.io/npm/v/jsreport-studio-dev.svg?style=flat-square)](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"
}
```