There are also a few templates for plugins on GitHub that have all of this already preconfigured.
For my plugins, I’ve set up a rather feature-rich template (https://github.com/pklaschka/xd-plugin-boilerplate) that includes linting, testing capabilities and more. While you might not need all of those, I’ve tried to keep the dependencies minimal (instead of nodemon, I use webpack --watch
, but that basically doesn’t matter). Feel free to have a look and if you have any questions, feel free to ask them (of course, I’m not saying you should use mine, everyone has different requirements, it’s just that if you have any questions regarding the use of xdpm, webpack etc. in such a pipeline, this is the one where I potentially know the answers ).