Derived from this example and the full D3 build.
To build, do
npm i;- Make any changes you need
npm run build. The newly built js files will be in the./builddirectiory.- To make the commit history clean, revert chnages to the
buildfolder before commiting. Changes tobuildcommited using the below process.
To publish (after commiting your changes):
npm run build- Bump the version number
MSW-taginpackage.json. npm run publish. This adds and commits the built files, tags the commit withMSW-tagandgit pushs.