3 ms·
I've been doing something like this for a while. I have my entire build process as a project on NPM itself. I just have to import it into my projects and write
by moron4hire 10y ago
I've been doing something like this for a while. I have my entire build process as a project on NPM itself. I just have to import it into my projects and write a small gulp project setup. It's very declarative and if I spent a little more effort could probably mostly eliminate. It has most of my preferred tools in it, including dev server setup, statically generated Pug templates, Babel, Rollup with tree shaking, and documentation generation. I've found it's also great for keeping my project setup clean. Most of my project dependencies end up being dev dependencies for build process, and there are a lot of them. This simplifies down to one.
- anaganisk 10y agois it open? Would be interesting to use it.
- moron4hire 10y agoIt is, but I haven't documented it at all https://github.com/capnmidnight/notiontheory-basic-build https://github.com/capnmidnight/notiontheory-basic-build Here is an example of usage https://github.com/NotionTheory/Primrose/blob/master/gulpfile.js https://github.com/NotionTheory/Primrose/blob/master/gulpfil... The name is lame, I hadn't considered sharing it and I misremembered that the dev server and doc gen are not yet a default part of the build project (though I could add them easily).