The Makefile I use with JavaScript projects
I learned a lot from this, and whether or not one should be doing this, I simplified:<p><a href="https://github.com/shmup/react-makefile/blob/master/Makefile" rel="nofollow">https://github.com/shmup/react-makefile/blob/master/Makefile</a><p>I opted out of checking for modification dates on node_modules and yarn.lock, because that seems like exactly what Yarn itself is for. I let it manage itself.<p>I also let Webpack do the heavy lifting.<p>So in short: I don't really need the Makefile at all and could just add the clean and dev-server commands to a script block in package.json<p>I still like it though