{ "name": "molstar", "version": "5.9.0", "description": "A comprehensive macromolecular library.", "homepage": "https://github.com/molstar/molstar#readme", "repository": { "type": "git", "url": "https://github.com/molstar/molstar.git" }, "bugs": { "url": "https://github.com/molstar/molstar/issues" }, "engines": { "node": ">=22.0.0" }, "scripts": { "lint": "eslint .", "lint-fix": "eslint . --fix", "test": "npm install --no-save \"gl@^6.0.2\" && npm run lint && jest", "jest": "jest", "clean": "node ./scripts/clean.js --all", "clean:build": "node ./scripts/clean.js --build", "build": "npm run build:apps && npm run build:lib", "build:apps": "node ./scripts/build.mjs -a -e --prd", "build:lib": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.commonjs.json --incremental\" && npm run build:lib-extra", "build:lib-extra": "node scripts/write-version.mjs && cpx \"src/**/*.{scss,html,ico,jpg}\" lib/ && cpx \"src/**/*.{scss,html,ico,jpg}\" lib/commonjs/ && tsc-alias -p tsconfig.json", "rebuild": "npm run clean && npm run build", "dev": "node ./scripts/build.mjs", "dev:all": "node ./scripts/build.mjs -a -e -bt", "dev:viewer": "node ./scripts/build.mjs -a viewer", "dev:apps": "node ./scripts/build.mjs -a", "dev:examples": "node ./scripts/build.mjs -e", "dev:browser-tests": "node ./scripts/build.mjs -bt", "serve": "http-server -p 1338 -g", "deploy:local": "npm run clean:build && npm run build:apps && node ./scripts/deploy.js --local", "deploy:remote": "npm run clean:build && npm run build:apps && node ./scripts/deploy.js", "model-server": "node lib/commonjs/servers/model/server.js", "model-server-watch": "nodemon --watch lib lib/commonjs/servers/model/server.js", "volume-server-test": "node lib/commonjs/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336", "plugin-state": "node lib/commonjs/servers/plugin-state/index.js --working-folder ./build/state --port 1339", "preversion": "npm run test", "version": "npm run rebuild && cpx .npmignore lib/", "postversion": "git push && git push --tags" }, "files": [ "lib/", "build/viewer/", "build/mvs-stories/" ], "bin": { "cif2bcif": "lib/commonjs/cli/cif2bcif/index.js", "cifschema": "lib/commonjs/cli/cifschema/index.js", "mvs-validate": "lib/commonjs/cli/mvs/mvs-validate.js", "mvs-render": "lib/commonjs/cli/mvs/mvs-render.js", "mvs-print-schema": "lib/commonjs/cli/mvs/mvs-print-schema.js", "model-server": "lib/commonjs/servers/model/server.js", "model-server-query": "lib/commonjs/servers/model/query.js", "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js", "volume-server": "lib/commonjs/servers/volume/server.js", "volume-server-query": "lib/commonjs/servers/volume/query.js", "volume-server-pack": "lib/commonjs/servers/volume/pack.js" }, "nodemonConfig": { "ignoreRoot": [ "./node_modules", ".git" ], "ignore": [], "delay": "2500" }, "jest": { "moduleFileExtensions": [ "ts", "js" ], "transform": { "\\.ts$": ["esbuild-jest-transform", { "tsconfigRaw": "{\"compilerOptions\":{\"useDefineForClassFields\":false}}" }] }, "moduleDirectories": [ "node_modules", "lib" ], "testEnvironmentOptions": { "url": "http://localhost/" }, "testRegex": "\\.spec\\.ts$" }, "author": "Mol* Contributors", "contributors": [ "Alexander Rose ", "David Sehnal ", "Sebastian Bittrich ", "Áron Samuel Kovács ", "Ludovic Autin ", "Michal Malý ", "Jiří Černý ", "Panagiotis Tourlas ", "Adam Midlik ", "Koya Sakuma ", "Gianluca Tomasello ", "Ke Ma ", "Jason Pattle ", "David Williams ", "Zhenyu Zhang ", "Russell Parker ", "Dominik Tichy ", "Yana Rose ", "Yakov Pechersky ", "Christian Dominguez ", "Cai Huiyu ", "Ryan DiRisio ", "Dušan Veľký ", "Neli Fonseca ", "Paul Pillot ", "Herman Bergwerf ", "Eric E ", "Xavier Martinez ", "Alex Chan ", "Simeon Borko ", "Ventura Rivera ", "Andy Turner ", "Lukáš Polák ", "Chetan Mishra ", "Zach Charlop-Powers ", "Kim Juho ", "Victoria Doshchenko ", "Diego del Alamo ", "Tianzhen Lin (Tangent) " ], "license": "MIT", "devDependencies": { "@types/cors": "^2.8.19", "@types/gl": "^6.0.5", "@types/jest": "^30.0.0", "@types/pngjs": "^6.0.5", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", "@types/webxr": "^0.5.24", "@typescript-eslint/eslint-plugin": "^8.59.1", "@typescript-eslint/parser": "^8.59.1", "benchmark": "^2.1.4", "concurrently": "^9.2.1", "cpx2": "^8.0.2", "css-loader": "^7.1.4", "esbuild": "^0.28.0", "esbuild-jest-transform": "^2.0.1", "esbuild-sass-plugin": "^3.7.0", "eslint": "^10.3.0", "fs-extra": "^11.3.4", "globals": "^17.6.0", "http-server": "^14.1.1", "jest": "^30.3.0", "jpeg-js": "^0.4.4", "react": "^18.3.1", "react-dom": "^18.3.1", "sass": "^1.99.0", "simple-git": "^3.36.0", "tsc-alias": "^1.8.17", "typescript": "^6.0.3" }, "dependencies": { "@types/argparse": "^2.0.17", "@types/benchmark": "^2.1.5", "@types/compression": "1.8.1", "@types/express": "^5.0.6", "@types/node": "^22.19.17", "@types/swagger-ui-dist": "3.30.6", "argparse": "^2.0.1", "compression": "^1.8.1", "cors": "^2.8.6", "express": "^5.2.1", "h264-mp4-encoder": "^1.0.12", "immutable": "^5.1.5", "io-ts": "^2.2.22", "mutative": "^1.3.0", "react-markdown": "^10.1.0", "remark-gfm": "^4.0.1", "rxjs": "^7.8.2", "swagger-ui-dist": "^5.32.5", "tslib": "^2.8.1" }, "peerDependencies": { "@google-cloud/storage": "^7.14.0", "canvas": "^2.11.2", "gl": "^6.0.2", "jpeg-js": "^0.4.4", "pngjs": "^6.0.0", "react": ">=16.14.0", "react-dom": ">=16.14.0" }, "peerDependenciesMeta": { "@google-cloud/storage": { "optional": true }, "canvas": { "optional": true }, "gl": { "optional": true }, "jpeg-js": { "optional": true }, "pngjs": { "optional": true } } }