package.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "name": "molstar",
  3. "version": "1.0.5",
  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 ./**/*.{ts,tsx}",
  15. "lint-fix": "eslint ./**/*.{ts,tsx} --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",
  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",
  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/cli/cif2bcif/index.js",
  47. "cifschema": "lib/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. ],
  85. "license": "MIT",
  86. "devDependencies": {
  87. "@graphql-codegen/add": "^1.14.0",
  88. "@graphql-codegen/cli": "^1.14.0",
  89. "@graphql-codegen/time": "^1.14.0",
  90. "@graphql-codegen/typescript": "^1.14.0",
  91. "@graphql-codegen/typescript-graphql-files-modules": "^1.14.0",
  92. "@graphql-codegen/typescript-graphql-request": "^1.14.0",
  93. "@graphql-codegen/typescript-operations": "^1.14.0",
  94. "@types/cors": "^2.8.6",
  95. "@typescript-eslint/eslint-plugin": "^3.0.0",
  96. "@typescript-eslint/parser": "^3.0.0",
  97. "benchmark": "^2.1.4",
  98. "concurrently": "^5.2.0",
  99. "cpx2": "^2.0.0",
  100. "css-loader": "^3.5.3",
  101. "eslint": "^7.0.0",
  102. "extra-watch-webpack-plugin": "^1.0.3",
  103. "file-loader": "^6.0.0",
  104. "fs-extra": "^9.0.0",
  105. "graphql": "^15.0.0",
  106. "http-server": "^0.12.3",
  107. "jest": "^26.0.1",
  108. "mini-css-extract-plugin": "^0.9.0",
  109. "node-sass": "^4.14.1",
  110. "raw-loader": "^4.0.1",
  111. "sass-loader": "^8.0.2",
  112. "simple-git": "^2.5.0",
  113. "style-loader": "^1.2.1",
  114. "ts-jest": "^26.0.0",
  115. "typescript": "^3.9.3",
  116. "webpack": "^4.43.0",
  117. "webpack-cli": "^3.3.11",
  118. "webpack-version-file-plugin": "^0.4.0"
  119. },
  120. "dependencies": {
  121. "@types/argparse": "^1.0.38",
  122. "@types/benchmark": "^1.0.33",
  123. "@types/compression": "1.7.0",
  124. "@types/express": "^4.17.6",
  125. "@types/jest": "^25.2.3",
  126. "@types/node": "^14.0.5",
  127. "@types/node-fetch": "^2.5.7",
  128. "@types/react": "^16.9.35",
  129. "@types/react-dom": "^16.9.8",
  130. "@types/swagger-ui-dist": "3.0.5",
  131. "argparse": "^1.0.10",
  132. "body-parser": "^1.19.0",
  133. "compression": "^1.7.4",
  134. "cors": "^2.8.5",
  135. "express": "^4.17.1",
  136. "immer": "^6.0.6",
  137. "immutable": "^3.8.2",
  138. "node-fetch": "^2.6.0",
  139. "react": "^16.13.1",
  140. "react-dom": "^16.13.1",
  141. "rxjs": "^6.5.5",
  142. "swagger-ui-dist": "^3.25.4",
  143. "tslib": "^2.0.0",
  144. "util.promisify": "^1.0.1",
  145. "xhr2": "^0.2.0"
  146. }
  147. }