package.json 7.7 KB

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