package.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. {
  2. "name": "molstar",
  3. "version": "3.42.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. "model-server": "lib/commonjs/servers/model/server.js",
  52. "model-server-query": "lib/commonjs/servers/model/query.js",
  53. "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js",
  54. "volume-server": "lib/commonjs/servers/volume/server.js",
  55. "volume-server-query": "lib/commonjs/servers/volume/query.js",
  56. "volume-server-pack": "lib/commonjs/servers/volume/pack.js"
  57. },
  58. "nodemonConfig": {
  59. "ignoreRoot": [
  60. "./node_modules",
  61. ".git"
  62. ],
  63. "ignore": [],
  64. "delay": "2500"
  65. },
  66. "jest": {
  67. "moduleFileExtensions": [
  68. "ts",
  69. "js"
  70. ],
  71. "transform": {
  72. "\\.ts$": "ts-jest"
  73. },
  74. "moduleDirectories": [
  75. "node_modules",
  76. "lib"
  77. ],
  78. "testEnvironmentOptions": {
  79. "url": "http://localhost/"
  80. },
  81. "testRegex": "\\.spec\\.ts$"
  82. },
  83. "author": "Mol* Contributors",
  84. "contributors": [
  85. "Alexander Rose <alexander.rose@weirdbyte.de>",
  86. "David Sehnal <david.sehnal@gmail.com>",
  87. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>",
  88. "Áron Samuel Kovács <aron.kovacs@mail.muni.cz>",
  89. "Ludovic Autin <autin@scripps.edu>",
  90. "Michal Malý <michal.maly@ibt.cas.cz>",
  91. "Jiří Černý <jiri.cerny@ibt.cas.cz>",
  92. "Panagiotis Tourlas <panagiot_tourlov@hotmail.com>",
  93. "Adam Midlik <midlik@gmail.com>",
  94. "Koya Sakuma <koya.sakuma.work@gmail.com>",
  95. "Gianluca Tomasello <giagitom@gmail.com>",
  96. "Ke Ma <mark.ma@rcsb.org>",
  97. "Jason Pattle <jpattle@exscientia.co.uk>",
  98. "David Williams <dwilliams@nobiastx.com>",
  99. "Zhenyu Zhang <jump2cn@gmail.com>",
  100. "Russell Parker <russell@benchling.com>",
  101. "Dominik Tichy <tichydominik451@gmail.com>",
  102. "Yana Rose <yana.v.rose@gmail.com>"
  103. ],
  104. "license": "MIT",
  105. "devDependencies": {
  106. "@graphql-codegen/add": "^5.0.0",
  107. "@graphql-codegen/cli": "^5.0.0",
  108. "@graphql-codegen/time": "^5.0.0",
  109. "@graphql-codegen/typescript": "^4.0.1",
  110. "@graphql-codegen/typescript-graphql-files-modules": "^3.0.0",
  111. "@graphql-codegen/typescript-graphql-request": "^6.0.1",
  112. "@graphql-codegen/typescript-operations": "^4.0.1",
  113. "@types/cors": "^2.8.16",
  114. "@types/gl": "^6.0.5",
  115. "@types/jpeg-js": "^0.3.7",
  116. "@types/pngjs": "^6.0.4",
  117. "@types/jest": "^29.5.8",
  118. "@types/react": "^18.2.37",
  119. "@types/react-dom": "^18.2.15",
  120. "@typescript-eslint/eslint-plugin": "^6.11.0",
  121. "@typescript-eslint/parser": "^6.11.0",
  122. "benchmark": "^2.1.4",
  123. "concurrently": "^8.2.2",
  124. "cpx2": "^6.0.1",
  125. "crypto-browserify": "^3.12.0",
  126. "css-loader": "^6.8.1",
  127. "eslint": "^8.54.0",
  128. "extra-watch-webpack-plugin": "^1.0.3",
  129. "file-loader": "^6.2.0",
  130. "fs-extra": "^11.1.1",
  131. "graphql": "^16.8.1",
  132. "http-server": "^14.1.1",
  133. "jest": "^29.7.0",
  134. "mini-css-extract-plugin": "^2.7.6",
  135. "path-browserify": "^1.0.1",
  136. "raw-loader": "^4.0.2",
  137. "react": "^18.2.0",
  138. "react-dom": "^18.2.0",
  139. "react-markdown": "^9.0.1",
  140. "sass": "^1.69.5",
  141. "sass-loader": "^13.3.2",
  142. "simple-git": "^3.20.0",
  143. "stream-browserify": "^3.0.0",
  144. "style-loader": "^3.3.3",
  145. "ts-jest": "^29.1.1",
  146. "typescript": "^5.2.2",
  147. "webpack": "^5.89.0",
  148. "webpack-cli": "^5.1.4"
  149. },
  150. "dependencies": {
  151. "@types/argparse": "^2.0.13",
  152. "@types/benchmark": "^2.1.5",
  153. "@types/compression": "1.7.5",
  154. "@types/express": "^4.17.21",
  155. "@types/node": "^16.18.62",
  156. "@types/node-fetch": "^2.6.9",
  157. "@types/swagger-ui-dist": "3.30.4",
  158. "argparse": "^2.0.1",
  159. "body-parser": "^1.20.2",
  160. "compression": "^1.7.4",
  161. "cors": "^2.8.5",
  162. "express": "^4.18.2",
  163. "h264-mp4-encoder": "^1.0.12",
  164. "immer": "^9.0.21",
  165. "immutable": "^4.3.4",
  166. "io-ts": "^2.2.20",
  167. "node-fetch": "^2.7.0",
  168. "rxjs": "^7.8.1",
  169. "swagger-ui-dist": "^5.10.0",
  170. "tslib": "^2.6.2",
  171. "util.promisify": "^1.1.2",
  172. "xhr2": "^0.2.1"
  173. },
  174. "peerDependencies": {
  175. "react": "^18.1.0 || ^17.0.2 || ^16.14.0",
  176. "react-dom": "^18.1.0 || ^17.0.2 || ^16.14.0"
  177. },
  178. "optionalDependencies": {
  179. "gl": "^6.0.2",
  180. "jpeg-js": "^0.4.4",
  181. "pngjs": "^6.0.0"
  182. }
  183. }