0.4.0 • Published 4 months ago

@repath-solutions/dev-tools v0.4.0

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

@repath-solutions/dev-tools

Development automation tools

Currently supports automations for building, starting and packing (zipping) ReactJS widgets

Usage

Install as dev dependency

npm i --save-dev @repath-solutions/dev-tools

Modify scripts in package.json

"build": "npx dev-tools react-build",
"start": "npx dev-tools react-start",
"pack": "npx dev-tools react-pack"
"set-env-var": "npx dev-tools set-env-var NODE_ENV localhost"

Scripts

Build

Builds the ReactJS widget with destination the "./app" folder

Start

Sets PORT to 8000 and starts the ReactJS widget in localhost. Port 8000 helps browsing the widget via Zoho CRM UI

Pack

Builds the ReactJS widget and creating a .zip file from the output folder. It doesn't generate ".map" as Zoho does not allow uploading ".map" files

Set Env Var

Sets an environmental variable

0.4.0

4 months ago

0.3.0

10 months ago

0.2.0

10 months ago