package.json 7.3 KB

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