npm clean-install
Open in Visual Studio Code and run these tasks:
build libraryrun example
npm run build:library:dev
npm startTo publish the lib:
- Checkout master + merge develop into master
- Update version in package.json in root and in package.json in projects/harness-browser3d-library to the new version
- Create tag with version (e.g.
0.3.4) - IMPORTANT: Re-build project completely with
npm run build:library:prod- Use the following commands to publish to npm
cd dist\harness-browser3d-library
npm login
npm publish --access public