evanw / lightgl.js

A lightweight WebGL library
MIT License
1.52k stars 146 forks source link

Make the library npm-compatible #29

Open juliendargelos opened 6 years ago

juliendargelos commented 6 years ago

The npm package is accessible from https://www.npmjs.com/package/lightgl.js, I would transfer ownership if needed (and edit repository url in package.json).

Note that it implies pushing the built lightgl.js file.

z3dev commented 6 years ago

Forget it...

roipoussiere commented 5 years ago

Hello, I'm also very interested on this.

Publishing an npm package may really facilitate installation workflow for projects using npm.

roipoussiere commented 5 years ago

If you are worried about publishing the lightgl.js file, I don't think it's necessary, since we can build it with a npm script entry in package.json, ie:

"scripts": {
  "postinstall": "python build.py"
}
z3dev commented 5 years ago

It’s not a technical problem. This library is not maintained.

roipoussiere commented 5 years ago

My bad. Should you recommend an other light alternative to three.js for a new project?

z3dev commented 5 years ago

Sorry. I don’t have any recommendations. There are several alternatives, even using WebGL is possible.

roipoussiere commented 5 years ago

I found a pretty good list of alternatives, if someone is interested.

Maybe you can archive the project and add a warning on the readme saying this library is not maintained, with a link to this list?

z3dev commented 5 years ago

@evanw needs to decide. But I would say that this library needs to be put on ... HOLD

Of course, if someone else wants to support this library...