package.json 4.0 KB

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