Inforiver Charts
Things to do first:
- Update to Node LTS, (You will need to use node >
12.x.x
, npm >= 7.x
)
- Delete node_modules, package.lock.json and dist folder
-
Installation and Setup
-
Development
-
Linting
-
npm run lint
-
npm run lint:fix
-
Production
-
Playground
⚡️⚡️ Faster Compilation with SWC
The package also supports faster compilation using swc
(rust based typescript/javascript compiler). Use the below commands for faster build times. Below are the reference commands for development and production usage.
For development, run the below commands
npm run build:next
npm run dev:next
Note - typedefs are only built on build:next
.
For building the package, just run the below command.
npm run build:next
npm publish