package.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. "name": "molstar",
  3. "version": "1.1.22",
  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. "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
  18. "build-viewer": "npm run build-tsc && npm run build-extra && npm run build-webpack-viewer",
  19. "build-tsc": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.commonjs.json --incremental\"",
  20. "build-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/",
  21. "build-webpack": "webpack --mode production --config ./webpack.config.production.js",
  22. "build-webpack-viewer": "webpack --mode production --config ./webpack.config.viewer.js",
  23. "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\"",
  24. "watch-viewer": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer\"",
  25. "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\"",
  26. "watch-tsc": "tsc --watch --incremental",
  27. "watch-servers": "tsc --build tsconfig.commonjs.json --watch --incremental",
  28. "watch-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/ --watch",
  29. "watch-webpack": "webpack -w --mode development --display minimal",
  30. "watch-webpack-viewer": "webpack -w --mode development --display errors-only --info-verbosity verbose --config ./webpack.config.viewer.js",
  31. "watch-webpack-viewer-debug": "webpack -w --mode development --display errors-only --info-verbosity verbose --config ./webpack.config.viewer.debug.js",
  32. "serve": "http-server -p 1338 -g",
  33. "model-server": "node lib/commonjs/servers/model/server.js",
  34. "model-server-watch": "nodemon --watch lib lib/commonjs/servers/model/server.js",
  35. "volume-server-test": "node lib/commonjs/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336",
  36. "plugin-state": "node lib/commonjs/servers/plugin-state/index.js --working-folder ./build/state --port 1339",
  37. "preversion": "npm run test",
  38. "version": "npm run build",
  39. "postversion": "git push && git push --tags"
  40. },
  41. "files": [
  42. "lib/",
  43. "build/viewer/"
  44. ],
  45. "bin": {
  46. "cif2bcif": "lib/commonjs/cli/cif2bcif/index.js",
  47. "cifschema": "lib/commonjs/cli/cifschema/index.js",
  48. "model-server": "lib/commonjs/servers/model/server.js",
  49. "model-server-query": "lib/commonjs/servers/model/query.js",
  50. "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js",
  51. "volume-server": "lib/commonjs/servers/volume/server.js",
  52. "volume-server-query": "lib/commonjs/servers/volume/query.js",
  53. "volume-server-pack": "lib/commonjs/servers/volume/pack.js"
  54. },
  55. "nodemonConfig": {
  56. "ignoreRoot": [
  57. "./node_modules",
  58. ".git"
  59. ],
  60. "ignore": [],
  61. "delay": "2500"
  62. },
  63. "jest": {
  64. "moduleFileExtensions": [
  65. "ts",
  66. "js"
  67. ],
  68. "transform": {
  69. "\\.ts$": "ts-jest"
  70. },
  71. "moduleDirectories": [
  72. "node_modules",
  73. "lib"
  74. ],
  75. "testURL": "http://localhost/",
  76. "testRegex": "\\.spec\\.ts$"
  77. },
  78. "author": "Mol* Contributors",
  79. "contributors": [
  80. "Alexander Rose <alexander.rose@weirdbyte.de>",
  81. "David Sehnal <david.sehnal@gmail.com>",
  82. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>",
  83. "Ludovic Autin <autin@scripps.edu>",
  84. "Michal Malý <michal.maly@ibt.cas.cz>",
  85. "Jiří Černý <jiri.cerny@ibt.cas.cz>"
  86. ],
  87. "license": "MIT",
  88. "devDependencies": {
  89. "@graphql-codegen/add": "^1.17.7",
  90. "@graphql-codegen/cli": "^1.17.8",
  91. "@graphql-codegen/time": "^1.17.10",
  92. "@graphql-codegen/typescript": "^1.17.9",
  93. "@graphql-codegen/typescript-graphql-files-modules": "^1.17.8",
  94. "@graphql-codegen/typescript-graphql-request": "^1.17.7",
  95. "@graphql-codegen/typescript-operations": "^1.17.8",
  96. "@types/cors": "^2.8.7",
  97. "@typescript-eslint/eslint-plugin": "^3.10.1",
  98. "@typescript-eslint/parser": "^3.10.1",
  99. "benchmark": "^2.1.4",
  100. "concurrently": "^5.3.0",
  101. "cpx2": "^2.0.0",
  102. "css-loader": "^3.6.0",
  103. "eslint": "^7.8.1",
  104. "extra-watch-webpack-plugin": "^1.0.3",
  105. "file-loader": "^6.1.0",
  106. "fs-extra": "^9.0.1",
  107. "graphql": "^15.3.0",
  108. "http-server": "^0.12.3",
  109. "jest": "^26.4.2",
  110. "mini-css-extract-plugin": "^0.9.0",
  111. "node-sass": "^4.14.1",
  112. "raw-loader": "^4.0.1",
  113. "sass-loader": "^8.0.2",
  114. "simple-git": "^2.20.1",
  115. "style-loader": "^1.2.1",
  116. "ts-jest": "^26.3.0",
  117. "typescript": "^4.0.2",
  118. "webpack": "^4.44.1",
  119. "webpack-cli": "^3.3.12",
  120. "webpack-version-file-plugin": "^0.4.0"
  121. },
  122. "dependencies": {
  123. "@types/argparse": "^1.0.38",
  124. "@types/benchmark": "^1.0.33",
  125. "@types/compression": "1.7.0",
  126. "@types/express": "^4.17.8",
  127. "@types/jest": "^25.2.3",
  128. "@types/node": "^14.10.1",
  129. "@types/node-fetch": "^2.5.7",
  130. "@types/react": "^16.9.49",
  131. "@types/react-dom": "^16.9.8",
  132. "@types/swagger-ui-dist": "3.0.5",
  133. "argparse": "^1.0.10",
  134. "body-parser": "^1.19.0",
  135. "compression": "^1.7.4",
  136. "cors": "^2.8.5",
  137. "express": "^4.17.1",
  138. "immer": "^7.0.9",
  139. "immutable": "^3.8.2",
  140. "node-fetch": "^2.6.0",
  141. "react": "^16.13.1",
  142. "react-dom": "^16.13.1",
  143. "rxjs": "^6.6.3",
  144. "swagger-ui-dist": "^3.33.0",
  145. "tslib": "^2.0.1",
  146. "util.promisify": "^1.0.1",
  147. "xhr2": "^0.2.0"
  148. }
  149. }