MolStart molecule viewer for transmembrane proteins http://molstar.org

JonStargaryen 376926032f make toast message and background color configurable 4 years ago
.vscode 6723a3b94f added vscode debug config 5 years ago
src 376926032f make toast message and background color configurable 4 years ago
.eslintrc.json ffc1549618 updated molstar & packages 4 years ago
.gitattributes 4cea30640e initial commit 5 years ago
.gitignore 4cea30640e initial commit 5 years ago
LICENSE 4cea30640e initial commit 5 years ago
README.md 0a60521242 private package registry 5 years ago
package-lock.json 75e7204257 1.0.1 4 years ago
package.json 75e7204257 1.0.1 4 years ago
tsconfig.json 8d0082cb1c wip, update to molstar 0.6 branch 5 years ago
webpack.config.js 0ad0569968 cleanup and config improvements 4 years ago

README.md

License

Building & Running

Build:

npm install
npm run build

Build automatically on file save:

npm run watch

Build with debug mode enabled:

DEBUG=molstar npm run watch

Build for production:

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/

Publish

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).

Prerelease

npm version prerelease # asumes the current version ends with '-dev.X'
npm publish --tag next

Release

npm version 0.X.0 # provide valid semver string
npm publish