package.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "name": "molstar",
  3. "version": "2.2.1",
  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 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}\" 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}\" 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",
  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. "model-server": "lib/commonjs/servers/model/server.js",
  56. "model-server-query": "lib/commonjs/servers/model/query.js",
  57. "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js",
  58. "volume-server": "lib/commonjs/servers/volume/server.js",
  59. "volume-server-query": "lib/commonjs/servers/volume/query.js",
  60. "volume-server-pack": "lib/commonjs/servers/volume/pack.js"
  61. },
  62. "nodemonConfig": {
  63. "ignoreRoot": [
  64. "./node_modules",
  65. ".git"
  66. ],
  67. "ignore": [],
  68. "delay": "2500"
  69. },
  70. "jest": {
  71. "moduleFileExtensions": [
  72. "ts",
  73. "js"
  74. ],
  75. "transform": {
  76. "\\.ts$": "ts-jest"
  77. },
  78. "moduleDirectories": [
  79. "node_modules",
  80. "lib"
  81. ],
  82. "testURL": "http://localhost/",
  83. "testRegex": "\\.spec\\.ts$"
  84. },
  85. "author": "Mol* Contributors",
  86. "contributors": [
  87. "Alexander Rose <alexander.rose@weirdbyte.de>",
  88. "David Sehnal <david.sehnal@gmail.com>",
  89. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>",
  90. "Áron Samuel Kovács <aron.kovacs@mail.muni.cz>",
  91. "Ludovic Autin <autin@scripps.edu>",
  92. "Michal Malý <michal.maly@ibt.cas.cz>",
  93. "Jiří Černý <jiri.cerny@ibt.cas.cz>"
  94. ],
  95. "license": "MIT",
  96. "devDependencies": {
  97. "@graphql-codegen/add": "^2.0.2",
  98. "@graphql-codegen/cli": "^1.19.4",
  99. "@graphql-codegen/time": "^2.0.2",
  100. "@graphql-codegen/typescript": "^1.19.0",
  101. "@graphql-codegen/typescript-graphql-files-modules": "^1.18.1",
  102. "@graphql-codegen/typescript-graphql-request": "^2.0.3",
  103. "@graphql-codegen/typescript-operations": "^1.17.12",
  104. "@types/cors": "^2.8.8",
  105. "@typescript-eslint/eslint-plugin": "^4.9.1",
  106. "@typescript-eslint/parser": "^4.9.1",
  107. "benchmark": "^2.1.4",
  108. "concurrently": "^5.3.0",
  109. "cpx2": "^3.0.0",
  110. "crypto-browserify": "^3.12.0",
  111. "css-loader": "^5.0.1",
  112. "eslint": "^7.15.0",
  113. "extra-watch-webpack-plugin": "^1.0.3",
  114. "file-loader": "^6.2.0",
  115. "fs-extra": "^9.0.1",
  116. "graphql": "^15.4.0",
  117. "http-server": "^0.12.3",
  118. "jest": "^26.6.3",
  119. "mini-css-extract-plugin": "^1.3.2",
  120. "node-sass": "^6.0.0",
  121. "path-browserify": "^1.0.1",
  122. "raw-loader": "^4.0.2",
  123. "sass-loader": "^11.1.1",
  124. "simple-git": "^2.25.0",
  125. "stream-browserify": "^3.0.0",
  126. "style-loader": "^2.0.0",
  127. "ts-jest": "^26.4.4",
  128. "typescript": "^4.2.4",
  129. "webpack": "^5.37.1",
  130. "webpack-cli": "^4.7.0",
  131. "webpack-version-file-plugin": "^0.4.0"
  132. },
  133. "dependencies": {
  134. "@types/argparse": "^1.0.38",
  135. "@types/benchmark": "^2.1.0",
  136. "@types/compression": "1.7.0",
  137. "@types/express": "^4.17.9",
  138. "@types/jest": "^26.0.18",
  139. "@types/node": "^14.14.11",
  140. "@types/node-fetch": "^2.5.7",
  141. "@types/react": "^17.0.0",
  142. "@types/react-dom": "^17.0.0",
  143. "@types/swagger-ui-dist": "3.30.0",
  144. "argparse": "^1.0.10",
  145. "body-parser": "^1.19.0",
  146. "compression": "^1.7.4",
  147. "cors": "^2.8.5",
  148. "express": "^4.17.1",
  149. "h264-mp4-encoder": "^1.0.12",
  150. "immer": "^8.0.1",
  151. "immutable": "^3.8.2",
  152. "node-fetch": "^2.6.1",
  153. "react": "^17.0.1",
  154. "react-dom": "^17.0.1",
  155. "rxjs": "^6.6.6",
  156. "source-map-loader": "^3.0.1",
  157. "swagger-ui-dist": "^3.37.2",
  158. "tslib": "^2.4.0",
  159. "util.promisify": "^1.0.1",
  160. "xhr2": "^0.2.0",
  161. "zlibt2": "^0.6.1"
  162. }
  163. }