package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "molstar",
  3. "version": "0.5.6",
  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 src/**/*.ts",
  15. "test": "npm run lint && jest",
  16. "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
  17. "build-tsc": "tsc --incremental",
  18. "build-extra": "cpx \"src/**/*.{scss,woff,woff2,ttf,otf,eot,svg,html,ico}\" lib/",
  19. "build-webpack": "webpack --mode production",
  20. "watch": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack\"",
  21. "watch-viewer": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer\"",
  22. "watch-tsc": "tsc --watch --incremental",
  23. "watch-extra": "cpx \"src/**/*.{scss,woff,woff2,ttf,otf,eot,svg,html,ico}\" lib/ --watch",
  24. "watch-webpack": "webpack -w --mode development --display errors-only --info-verbosity verbose",
  25. "watch-webpack-viewer": "webpack -w --mode development --display errors-only --info-verbosity verbose --config ./webpack.config.viewer.js",
  26. "serve": "http-server -p 1338",
  27. "model-server": "node lib/servers/model/server.js",
  28. "model-server-watch": "nodemon --watch lib lib/servers/model/server.js",
  29. "volume-server": "node lib/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336",
  30. "plugin-state": "node lib/servers/plugin-state/index.js",
  31. "preversion": "npm run test",
  32. "postversion": "git push && git push --tags",
  33. "prepublishOnly": "npm run test && npm run build"
  34. },
  35. "files": [
  36. "lib/"
  37. ],
  38. "nodemonConfig": {
  39. "ignoreRoot": [
  40. "./node_modules",
  41. ".git"
  42. ],
  43. "ignore": [],
  44. "delay": "2500"
  45. },
  46. "jest": {
  47. "moduleFileExtensions": [
  48. "ts",
  49. "js"
  50. ],
  51. "transform": {
  52. "\\.ts$": "ts-jest"
  53. },
  54. "moduleDirectories": [
  55. "node_modules",
  56. "lib"
  57. ],
  58. "testURL": "http://localhost/",
  59. "testRegex": "\\.spec\\.ts$"
  60. },
  61. "author": "Mol* Contributors",
  62. "contributors": [
  63. "Alexander Rose <alexander.rose@weirdbyte.de>",
  64. "David Sehnal <david.sehnal@gmail.com>",
  65. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>"
  66. ],
  67. "license": "MIT",
  68. "devDependencies": {
  69. "@graphql-codegen/add": "^1.13.0",
  70. "@graphql-codegen/cli": "^1.13.0",
  71. "@graphql-codegen/time": "^1.13.0",
  72. "@graphql-codegen/typescript": "^1.13.0",
  73. "@graphql-codegen/typescript-graphql-files-modules": "^1.13.0",
  74. "@graphql-codegen/typescript-graphql-request": "^1.13.0",
  75. "@graphql-codegen/typescript-operations": "^1.13.0",
  76. "@types/cors": "^2.8.6",
  77. "@typescript-eslint/eslint-plugin": "^2.23.0",
  78. "@typescript-eslint/parser": "^2.23.0",
  79. "benchmark": "^2.1.4",
  80. "circular-dependency-plugin": "^5.2.0",
  81. "concurrently": "^5.1.0",
  82. "cpx2": "^2.0.0",
  83. "css-loader": "^3.4.2",
  84. "eslint": "^6.8.0",
  85. "extra-watch-webpack-plugin": "^1.0.3",
  86. "file-loader": "^5.1.0",
  87. "fs-extra": "^8.1.0",
  88. "http-server": "^0.12.1",
  89. "jest": "^25.1.0",
  90. "jest-raw-loader": "^1.0.1",
  91. "mini-css-extract-plugin": "^0.9.0",
  92. "node-sass": "^4.13.1",
  93. "pascal-case": "^3.1.1",
  94. "raw-loader": "^4.0.0",
  95. "resolve-url-loader": "^3.1.1",
  96. "sass-loader": "^8.0.2",
  97. "simple-git": "^1.132.0",
  98. "style-loader": "^1.1.3",
  99. "ts-jest": "^25.2.1",
  100. "typescript": "^3.8.3",
  101. "webpack": "^4.42.0",
  102. "webpack-cli": "^3.3.11"
  103. },
  104. "dependencies": {
  105. "@types/argparse": "^1.0.38",
  106. "@types/benchmark": "^1.0.31",
  107. "@types/compression": "1.7.0",
  108. "@types/express": "^4.17.3",
  109. "@types/jest": "^25.1.4",
  110. "@types/node": "^13.9.0",
  111. "@types/node-fetch": "^2.5.5",
  112. "@types/react": "^16.9.23",
  113. "@types/react-dom": "^16.9.5",
  114. "@types/swagger-ui-dist": "3.0.5",
  115. "argparse": "^1.0.10",
  116. "body-parser": "^1.19.0",
  117. "compression": "^1.7.4",
  118. "cors": "^2.8.5",
  119. "express": "^4.17.1",
  120. "graphql": "^14.6.0",
  121. "immer": "^6.0.1",
  122. "immutable": "^3.8.2",
  123. "node-fetch": "^2.6.0",
  124. "react": "^16.13.0",
  125. "react-dom": "^16.13.0",
  126. "rxjs": "^6.5.4",
  127. "swagger-ui-dist": "^3.25.0",
  128. "tslib": "^1.11.1",
  129. "util.promisify": "^1.0.1",
  130. "xhr2": "^0.2.0"
  131. }
  132. }