package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "name": "molstar",
  3. "version": "3.13.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@^5.0.0\" && 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. "testURL": "http://localhost/",
  79. "testRegex": "\\.spec\\.ts$"
  80. },
  81. "author": "Mol* Contributors",
  82. "contributors": [
  83. "Alexander Rose <alexander.rose@weirdbyte.de>",
  84. "David Sehnal <david.sehnal@gmail.com>",
  85. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>",
  86. "Áron Samuel Kovács <aron.kovacs@mail.muni.cz>",
  87. "Ludovic Autin <autin@scripps.edu>",
  88. "Michal Malý <michal.maly@ibt.cas.cz>",
  89. "Jiří Černý <jiri.cerny@ibt.cas.cz>",
  90. "Panagiotis Tourlas <panagiot_tourlov@hotmail.com>"
  91. ],
  92. "license": "MIT",
  93. "devDependencies": {
  94. "@graphql-codegen/add": "^3.2.0",
  95. "@graphql-codegen/cli": "^2.9.1",
  96. "@graphql-codegen/time": "^3.2.0",
  97. "@graphql-codegen/typescript": "^2.7.2",
  98. "@graphql-codegen/typescript-graphql-files-modules": "^2.2.0",
  99. "@graphql-codegen/typescript-graphql-request": "^4.5.2",
  100. "@graphql-codegen/typescript-operations": "^2.5.2",
  101. "@types/cors": "^2.8.12",
  102. "@types/gl": "^4.1.1",
  103. "@types/jest": "^28.1.6",
  104. "@types/react": "^18.0.15",
  105. "@types/react-dom": "^18.0.6",
  106. "@typescript-eslint/eslint-plugin": "^5.30.7",
  107. "@typescript-eslint/parser": "^5.30.7",
  108. "benchmark": "^2.1.4",
  109. "concurrently": "^7.3.0",
  110. "cpx2": "^4.2.0",
  111. "crypto-browserify": "^3.12.0",
  112. "css-loader": "^6.7.1",
  113. "eslint": "^8.20.0",
  114. "extra-watch-webpack-plugin": "^1.0.3",
  115. "file-loader": "^6.2.0",
  116. "fs-extra": "^10.1.0",
  117. "graphql": "^16.5.0",
  118. "http-server": "^14.1.1",
  119. "jest": "^28.1.3",
  120. "mini-css-extract-plugin": "^2.6.1",
  121. "path-browserify": "^1.0.1",
  122. "raw-loader": "^4.0.2",
  123. "react": "^18.2.0",
  124. "react-dom": "^18.2.0",
  125. "sass": "^1.54.0",
  126. "sass-loader": "^13.0.2",
  127. "simple-git": "^3.10.0",
  128. "stream-browserify": "^3.0.0",
  129. "style-loader": "^3.3.1",
  130. "ts-jest": "^28.0.7",
  131. "typescript": "^4.7.4",
  132. "webpack": "^5.73.0",
  133. "webpack-cli": "^4.10.0"
  134. },
  135. "dependencies": {
  136. "@types/argparse": "^2.0.10",
  137. "@types/benchmark": "^2.1.1",
  138. "@types/compression": "1.7.2",
  139. "@types/express": "^4.17.13",
  140. "@types/node": "^16.11.45",
  141. "@types/node-fetch": "^2.6.2",
  142. "@types/swagger-ui-dist": "3.30.1",
  143. "argparse": "^2.0.1",
  144. "body-parser": "^1.20.0",
  145. "compression": "^1.7.4",
  146. "cors": "^2.8.5",
  147. "express": "^4.18.1",
  148. "h264-mp4-encoder": "^1.0.12",
  149. "immer": "^9.0.15",
  150. "immutable": "^4.1.0",
  151. "node-fetch": "^2.6.7",
  152. "rxjs": "^7.5.6",
  153. "swagger-ui-dist": "^4.13.0",
  154. "tslib": "^2.4.0",
  155. "util.promisify": "^1.1.1",
  156. "xhr2": "^0.2.1"
  157. },
  158. "peerDependencies": {
  159. "react": "^18.1.0 || ^17.0.2 || ^16.14.0",
  160. "react-dom": "^18.1.0 || ^17.0.2 || ^16.14.0"
  161. }
  162. }