package.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. {
  2. "name": "molstar",
  3. "version": "3.45.0",
  4. "description": "A comprehensive macromolecular library.",
  5. "homepage": "https://github.com/molstar/molstar#readme",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/molstar/molstar.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/molstar/molstar/issues"
  12. },
  13. "scripts": {
  14. "lint": "eslint .",
  15. "lint-fix": "eslint . --fix",
  16. "test": "npm install --no-save \"gl@^6.0.2\" && npm run lint && jest",
  17. "jest": "jest",
  18. "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
  19. "build-tm": "npm run build-tsc && npm run build-extra && npm run build-webpack-tm",
  20. "build-tm-renderer": "npm run build-tsc-renderer && npm run build-webpack-tm-renderer",
  21. "clean": "node ./scripts/clean.js",
  22. "rebuild": "npm run clean && npm run build",
  23. "build-viewer": "npm run build-tsc && npm run build-extra && npm run build-webpack-viewer",
  24. "build-tsc": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.commonjs.json --incremental\"",
  25. "build-tsc-renderer": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.renderer.json --incremental\"",
  26. "build-extra": "cpx \"src/**/*.{scss,html,ico,jpg}\" lib/",
  27. "build-webpack": "webpack --mode production --config ./webpack.config.production.js",
  28. "build-webpack-viewer": "webpack --mode production --config ./webpack.config.viewer.js",
  29. "build-webpack-tm": "webpack --mode production --config ./webpack.config.tm-viewer.js",
  30. "build-webpack-tm-renderer": "webpack --mode production --config ./webpack.config.tm-renderer.js",
  31. "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\"",
  32. "watch-viewer": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer\"",
  33. "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\"",
  34. "watch-tm": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-tm\"",
  35. "watch-tsc": "tsc --watch --incremental",
  36. "watch-servers": "tsc --build tsconfig.commonjs.json --watch --incremental",
  37. "watch-extra": "cpx \"src/**/*.{scss,html,ico,jpg}\" lib/ --watch",
  38. "watch-webpack": "webpack -w --mode development --stats minimal",
  39. "watch-webpack-viewer": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.js",
  40. "watch-webpack-viewer-debug": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.debug.js",
  41. "watch-webpack-tm": "webpack -w --mode development --stats minimal --config ./webpack.config.tm-viewer.js",
  42. "serve": "http-server -p 1338 -g",
  43. "model-server": "node lib/commonjs/servers/model/server.js",
  44. "model-server-watch": "nodemon --watch lib lib/commonjs/servers/model/server.js",
  45. "volume-server-test": "node lib/commonjs/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336",
  46. "plugin-state": "node lib/commonjs/servers/plugin-state/index.js --working-folder ./build/state --port 1339",
  47. "preversion": "npm run test",
  48. "version": "npm run rebuild && cpx .npmignore lib/",
  49. "postversion": "git push && git push --tags"
  50. },
  51. "files": [
  52. "lib/",
  53. "build/viewer/"
  54. ],
  55. "bin": {
  56. "cif2bcif": "lib/commonjs/cli/cif2bcif/index.js",
  57. "cifschema": "lib/commonjs/cli/cifschema/index.js",
  58. "mvs-validate": "lib/commonjs/cli/mvs/mvs-validate.js",
  59. "mvs-render": "lib/commonjs/cli/mvs/mvs-render.js",
  60. "mvs-print-schema": "lib/commonjs/cli/mvs/mvs-print-schema.js",
  61. "model-server": "lib/commonjs/servers/model/server.js",
  62. "model-server-query": "lib/commonjs/servers/model/query.js",
  63. "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js",
  64. "volume-server": "lib/commonjs/servers/volume/server.js",
  65. "volume-server-query": "lib/commonjs/servers/volume/query.js",
  66. "volume-server-pack": "lib/commonjs/servers/volume/pack.js"
  67. },
  68. "nodemonConfig": {
  69. "ignoreRoot": [
  70. "./node_modules",
  71. ".git"
  72. ],
  73. "ignore": [],
  74. "delay": "2500"
  75. },
  76. "jest": {
  77. "moduleFileExtensions": [
  78. "ts",
  79. "js"
  80. ],
  81. "transform": {
  82. "\\.ts$": "ts-jest"
  83. },
  84. "moduleDirectories": [
  85. "node_modules",
  86. "lib"
  87. ],
  88. "testEnvironmentOptions": {
  89. "url": "http://localhost/"
  90. },
  91. "testRegex": "\\.spec\\.ts$"
  92. },
  93. "author": "Mol* Contributors",
  94. "contributors": [
  95. "Alexander Rose <alexander.rose@weirdbyte.de>",
  96. "David Sehnal <david.sehnal@gmail.com>",
  97. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>",
  98. "Áron Samuel Kovács <aron.kovacs@mail.muni.cz>",
  99. "Ludovic Autin <autin@scripps.edu>",
  100. "Michal Malý <michal.maly@ibt.cas.cz>",
  101. "Jiří Černý <jiri.cerny@ibt.cas.cz>",
  102. "Panagiotis Tourlas <panagiot_tourlov@hotmail.com>",
  103. "Adam Midlik <midlik@gmail.com>",
  104. "Koya Sakuma <koya.sakuma.work@gmail.com>",
  105. "Gianluca Tomasello <giagitom@gmail.com>",
  106. "Ke Ma <mark.ma@rcsb.org>",
  107. "Jason Pattle <jpattle@exscientia.co.uk>",
  108. "David Williams <dwilliams@nobiastx.com>",
  109. "Zhenyu Zhang <jump2cn@gmail.com>",
  110. "Russell Parker <russell@benchling.com>",
  111. "Dominik Tichy <tichydominik451@gmail.com>",
  112. "Yana Rose <yana.v.rose@gmail.com>",
  113. "Yakov Pechersky <ffxen158@gmail.com>",
  114. "Christian Dominguez <christian.99dominguez@gmail.com>"
  115. ],
  116. "license": "MIT",
  117. "devDependencies": {
  118. "@graphql-codegen/add": "^5.0.0",
  119. "@graphql-codegen/cli": "^5.0.0",
  120. "@graphql-codegen/time": "^5.0.0",
  121. "@graphql-codegen/typescript": "^4.0.1",
  122. "@graphql-codegen/typescript-graphql-files-modules": "^3.0.0",
  123. "@graphql-codegen/typescript-graphql-request": "^6.2.0",
  124. "@graphql-codegen/typescript-operations": "^4.0.1",
  125. "@types/cors": "^2.8.17",
  126. "@types/gl": "^6.0.5",
  127. "@types/pngjs": "^6.0.4",
  128. "@types/jest": "^29.5.12",
  129. "@types/react": "^18.2.52",
  130. "@types/react-dom": "^18.2.18",
  131. "@typescript-eslint/eslint-plugin": "^6.20.0",
  132. "@typescript-eslint/parser": "^6.20.0",
  133. "benchmark": "^2.1.4",
  134. "concurrently": "^8.2.2",
  135. "cpx2": "^6.0.1",
  136. "crypto-browserify": "^3.12.0",
  137. "css-loader": "^6.10.0",
  138. "eslint": "^8.56.0",
  139. "extra-watch-webpack-plugin": "^1.0.3",
  140. "file-loader": "^6.2.0",
  141. "fs-extra": "^11.2.0",
  142. "graphql": "^16.8.1",
  143. "http-server": "^14.1.1",
  144. "jest": "^29.7.0",
  145. "jpeg-js": "^0.4.4",
  146. "mini-css-extract-plugin": "^2.8.0",
  147. "path-browserify": "^1.0.1",
  148. "raw-loader": "^4.0.2",
  149. "react": "^18.2.0",
  150. "react-dom": "^18.2.0",
  151. "sass": "^1.70.0",
  152. "sass-loader": "^14.1.0",
  153. "simple-git": "^3.22.0",
  154. "stream-browserify": "^3.0.0",
  155. "style-loader": "^3.3.4",
  156. "ts-jest": "^29.1.2",
  157. "typescript": "^5.3.3",
  158. "webpack": "^5.90.1",
  159. "webpack-cli": "^5.1.4"
  160. },
  161. "dependencies": {
  162. "@types/argparse": "^2.0.14",
  163. "@types/benchmark": "^2.1.5",
  164. "@types/compression": "1.7.5",
  165. "@types/express": "^4.17.21",
  166. "@types/node": "^16.18.69",
  167. "@types/node-fetch": "^2.6.11",
  168. "@types/swagger-ui-dist": "3.30.4",
  169. "argparse": "^2.0.1",
  170. "body-parser": "^1.20.2",
  171. "compression": "^1.7.4",
  172. "cors": "^2.8.5",
  173. "express": "^4.18.2",
  174. "h264-mp4-encoder": "^1.0.12",
  175. "immer": "^9.0.21",
  176. "immutable": "^4.3.4",
  177. "io-ts": "^2.2.21",
  178. "node-fetch": "^2.7.0",
  179. "react-markdown": "^9.0.1",
  180. "rxjs": "^7.8.1",
  181. "swagger-ui-dist": "^5.11.2",
  182. "tslib": "^2.6.2",
  183. "util.promisify": "^1.1.2",
  184. "xhr2": "^0.2.1"
  185. },
  186. "peerDependencies": {
  187. "canvas": "^2.11.2",
  188. "gl": "^6.0.2",
  189. "jpeg-js": "^0.4.4",
  190. "pngjs": "^6.0.0",
  191. "react": "^18.1.0 || ^17.0.2 || ^16.14.0",
  192. "react-dom": "^18.1.0 || ^17.0.2 || ^16.14.0"
  193. },
  194. "peerDependenciesMeta": {
  195. "canvas": {
  196. "optional": true
  197. },
  198. "gl": {
  199. "optional": true
  200. },
  201. "jpeg-js": {
  202. "optional": true
  203. },
  204. "pngjs": {
  205. "optional": true
  206. }
  207. }
  208. }