generator-tstackgl-module

0.0.4 • Public • Published

generator-tstackgl-module

Scaffold out a library for tstackgl

Tstackgl is stack.gl ecosystem but in Typescript. 🤙

Credits

Stack.gl community is great! Thanks!

This generator is inspired from generator-nm and from generator-browser-node-module.

Install

npm install -g yo
npm install -g generator-tstackgl-module

Usage

yo tstackgl-module

or just

yo

and select tstackgl-module.

Motivations and features

  • Why Typescript? Come on, we are coders and we have to take care of the type thing in our mind already and the documentation thing in our readme, a type system just do all this for us.

  • Why stack.gl? WebGL is cool, stack.gl is awesome, regl is even better. Simplicity, modularity and unix philosophy 🤘

  • prettier? Manual linting could be a form of meditation but we need an opinionanted formal standard to be on the same page. Here there is prettier.

  • microbundle.? Yeah I know, Javascript is a young language and we do not agree even on how to split codes into files. Microbundle can handle CommonJS, AMD, UMD and everyone deserve its freedom.

  • _No default exports?_ Only named Export. I just agree on that.

  • Browserify to buil the demo. Simple enough to do what I need in a line of bash or little bit more.

  • Budo for the rapid prototyping because budo is just a fast way to run things and it has a great name.

  • NPM or yarn? For now npm is doing its job. Idea to make yarn optional in the generator is on the way.

  • Github pages deploy. I am already in github, why do I need something more?

  • PR are welcome!

License

MIT © 2018 nkint

Package Sidebar

Install

npm i generator-tstackgl-module

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

119 kB

Total Files

19

Last publish

Collaborators

  • nkint