{ "name": "molstar", "version": "2.2.1", "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" }, "scripts": { "lint": "eslint .", "lint-fix": "eslint . --fix", "test": "npm run lint && jest", "jest": "jest", "build": "npm run build-tsc && npm run build-extra && npm run build-webpack", "build-tm": "npm run build-tsc && npm run build-extra && npm run build-webpack-tm", "clean": "node ./scripts/clean.js", "rebuild": "npm run clean && npm run build", "build-viewer": "npm run build-tsc && npm run build-extra && npm run build-webpack-viewer", "build-tsc": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.commonjs.json --incremental\"", "build-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/", "build-webpack": "webpack --mode production --config ./webpack.config.production.js", "build-webpack-viewer": "webpack --mode production --config ./webpack.config.viewer.js", "build-webpack-tm": "webpack --mode production --config ./webpack.config.tm-viewer.js", "watch": "concurrently -c \"green,green,gray,gray\" --names \"tsc,srv,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-servers\" \"npm:watch-extra\" \"npm:watch-webpack\"", "watch-viewer": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer\"", "watch-viewer-debug": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer-debug\"", "watch-tm": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-tm\"", "watch-tsc": "tsc --watch --incremental", "watch-servers": "tsc --build tsconfig.commonjs.json --watch --incremental", "watch-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/ --watch", "watch-webpack": "webpack -w --mode development --stats minimal", "watch-webpack-viewer": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.js", "watch-webpack-viewer-debug": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.debug.js", "watch-webpack-tm": "webpack -w --mode development --stats minimal --config ./webpack.config.tm-viewer.js", "serve": "http-server -p 1338 -g", "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", "postversion": "git push && git push --tags" }, "files": [ "lib/", "build/viewer/" ], "bin": { "cif2bcif": "lib/commonjs/cli/cif2bcif/index.js", "cifschema": "lib/commonjs/cli/cifschema/index.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$": "ts-jest" }, "moduleDirectories": [ "node_modules", "lib" ], "testURL": "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ý " ], "license": "MIT", "devDependencies": { "@graphql-codegen/add": "^2.0.2", "@graphql-codegen/cli": "^1.19.4", "@graphql-codegen/time": "^2.0.2", "@graphql-codegen/typescript": "^1.19.0", "@graphql-codegen/typescript-graphql-files-modules": "^1.18.1", "@graphql-codegen/typescript-graphql-request": "^2.0.3", "@graphql-codegen/typescript-operations": "^1.17.12", "@types/cors": "^2.8.8", "@typescript-eslint/eslint-plugin": "^4.9.1", "@typescript-eslint/parser": "^4.9.1", "benchmark": "^2.1.4", "concurrently": "^5.3.0", "cpx2": "^3.0.0", "crypto-browserify": "^3.12.0", "css-loader": "^5.0.1", "eslint": "^7.15.0", "extra-watch-webpack-plugin": "^1.0.3", "file-loader": "^6.2.0", "fs-extra": "^9.0.1", "graphql": "^15.4.0", "http-server": "^0.12.3", "jest": "^26.6.3", "mini-css-extract-plugin": "^1.3.2", "node-sass": "^6.0.0", "path-browserify": "^1.0.1", "raw-loader": "^4.0.2", "sass-loader": "^11.1.1", "simple-git": "^2.25.0", "stream-browserify": "^3.0.0", "style-loader": "^2.0.0", "ts-jest": "^26.4.4", "typescript": "^4.2.4", "webpack": "^5.37.1", "webpack-cli": "^4.7.0", "webpack-version-file-plugin": "^0.4.0" }, "dependencies": { "@types/argparse": "^1.0.38", "@types/benchmark": "^2.1.0", "@types/compression": "1.7.0", "@types/express": "^4.17.9", "@types/jest": "^26.0.18", "@types/node": "^14.14.11", "@types/node-fetch": "^2.5.7", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@types/swagger-ui-dist": "3.30.0", "argparse": "^1.0.10", "body-parser": "^1.19.0", "compression": "^1.7.4", "cors": "^2.8.5", "express": "^4.17.1", "h264-mp4-encoder": "^1.0.12", "immer": "^8.0.1", "immutable": "^3.8.2", "node-fetch": "^2.6.1", "react": "^17.0.1", "react-dom": "^17.0.1", "rxjs": "^6.6.6", "source-map-loader": "^3.0.1", "swagger-ui-dist": "^3.37.2", "tslib": "^2.4.0", "util.promisify": "^1.0.1", "xhr2": "^0.2.0" } }