npm install
npm run build
npm run watch
DEBUG=molstar npm run watch
npm run build
Run
If not installed previously:
npm install -g http-server
...or a similar solution.
From the root of the project:
http-server -p PORT-NUMBER
and navigate to build/dist/structure-viewer/
The publish will send the package to our own registry at http://nexus3.rcsb.org/repository/npm-rcsb/ (not to NPM as this is currently a private project).
npm version prerelease # asumes the current version ends with '-dev.X'
npm publish --tag next
npm version 0.X.0 # provide valid semver string
npm publish