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

Alexander Rose ffc1549618 updated molstar & packages 4 роки тому
.vscode 6723a3b94f added vscode debug config 5 роки тому
src 229083baa9 updated molstar, fix feature preset camera focus 4 роки тому
.eslintrc.json ffc1549618 updated molstar & packages 4 роки тому
.gitattributes 4cea30640e initial commit 5 роки тому
.gitignore 4cea30640e initial commit 5 роки тому
LICENSE 4cea30640e initial commit 5 роки тому
README.md 0a60521242 private package registry 5 роки тому
package-lock.json ffc1549618 updated molstar & packages 4 роки тому
package.json ffc1549618 updated molstar & packages 4 роки тому
tsconfig.json 8d0082cb1c wip, update to molstar 0.6 branch 5 роки тому
webpack.config.js 0ad0569968 cleanup and config improvements 4 роки тому

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