Our blazing fast Grid component built with pure JavaScript


Post by Yamo93 »

Hi,

I want to host the React npm package internally so that I can point to my repo from package.json. However, I'm not sure if there is any ready React bundle that I can host. I tried hosting the folder from node_modules but it doesn't seem right.

What's the right way to serve the three npm packages (@bryntum/grid, @bryntum/grid-react and grid-lib)? Is there any ready bundle that I can serve?


Post by sergey.maltsev »

Hi!

You can take installed packages from node_modules/@bryntum by copying folders you want.
Or you may use

npm pack

inside node_modules/@bryntum/grid and this will create bryntum-grid-4.1.1.tgz or similar package which you can use lately for local installation.

It would be like this in package.json

dependencies : {
  "@bryntum/grid": "file:path_to_repo/bryntum-grid-4.1.1.tgz"
}

Post by Yamo93 »

Thanks! I will try that.


Post Reply