npm clean-install
Open in Visual Studio Code and run these tasks:
build library
run example
npm run build:library
npm start
To 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
- Use the following commands to publish to npm
cd dist\harness-browser3d-library
npm login
npm publish --access public