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./build
directiory.- To make the commit history clean, revert chnages to the
build
folder before commiting. Changes tobuild
commited using the below process.
To publish (after commiting your changes):
npm run build
- Bump the version number
MSW-tag
inpackage.json
. npm run publish
. This adds and commits the built files, tags the commit withMSW-tag
andgit push
s.