Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I somewhat agree and so does much of the JavaScript world.

eslint or maybe jslint started off with json and later ended up letting you make a JavaScript file. As a simple example of something you might want to do, read the version from the package.json and generate a banner or an installation version.

Grunt (not sure who still uses Grunt but I do) is JavaScript based. And yes, sharing parts is something I commonly do as in define common options and re-use them in dev, production, or minimized, un-minimized.

WebPack takes a JavaScript file

For most build tasks I've had some place where I needed to use code to make the build better but it can go both ways. The worst experience I've ever had is Scons (python). No one I know ever really understood how it worked and so every programmers wrote wrong and hard to understand code trying to insert their special needs into the build.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: