package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "molstar",
  3. "version": "0.5.0-dev.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",
  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",
  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. "preversion": "npm run test",
  29. "postversion": "git push && git push --tags",
  30. "prepublishOnly": "npm run test && npm run build"
  31. },
  32. "files": [
  33. "lib/"
  34. ],
  35. "nodemonConfig": {
  36. "ignoreRoot": [
  37. "./node_modules",
  38. ".git"
  39. ],
  40. "ignore": [],
  41. "delay": "2500"
  42. },
  43. "jest": {
  44. "moduleFileExtensions": [
  45. "ts",
  46. "js"
  47. ],
  48. "transform": {
  49. "\\.ts$": "ts-jest"
  50. },
  51. "moduleDirectories": [
  52. "node_modules",
  53. "lib"
  54. ],
  55. "testURL": "http://localhost/",
  56. "testRegex": "\\.spec\\.ts$"
  57. },
  58. "author": "Mol* Contributors",
  59. "contributors": [
  60. "Alexander Rose <alexander.rose@weirdbyte.de>",
  61. "David Sehnal <david.sehnal@gmail.com>",
  62. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>"
  63. ],
  64. "license": "MIT",
  65. "devDependencies": {
  66. "@graphql-codegen/add": "^1.11.2",
  67. "@graphql-codegen/cli": "^1.11.2",
  68. "@graphql-codegen/time": "^1.11.2",
  69. "@graphql-codegen/typescript": "^1.11.2",
  70. "@graphql-codegen/typescript-graphql-files-modules": "^1.11.2",
  71. "@graphql-codegen/typescript-graphql-request": "^1.11.2",
  72. "@graphql-codegen/typescript-operations": "^1.11.2",
  73. "@typescript-eslint/eslint-plugin": "^2.17.0",
  74. "@typescript-eslint/eslint-plugin-tslint": "^2.17.0",
  75. "@typescript-eslint/parser": "^2.17.0",
  76. "benchmark": "^2.1.4",
  77. "circular-dependency-plugin": "^5.2.0",
  78. "concurrently": "^5.0.2",
  79. "cpx2": "^2.0.0",
  80. "css-loader": "^3.4.2",
  81. "eslint": "^6.8.0",
  82. "extra-watch-webpack-plugin": "^1.0.3",
  83. "file-loader": "^5.0.2",
  84. "fs-extra": "^8.1.0",
  85. "http-server": "^0.12.1",
  86. "jest": "^25.1.0",
  87. "jest-raw-loader": "^1.0.1",
  88. "mini-css-extract-plugin": "^0.9.0",
  89. "node-sass": "^4.13.1",
  90. "pascal-case": "^3.1.1",
  91. "raw-loader": "^4.0.0",
  92. "resolve-url-loader": "^3.1.1",
  93. "sass-loader": "^8.0.2",
  94. "simple-git": "^1.130.0",
  95. "style-loader": "^1.1.3",
  96. "ts-jest": "^25.0.0",
  97. "typescript": "^3.7.5",
  98. "webpack": "^4.41.5",
  99. "webpack-cli": "^3.3.10"
  100. },
  101. "dependencies": {
  102. "@types/argparse": "^1.0.38",
  103. "@types/benchmark": "^1.0.31",
  104. "@types/compression": "1.0.1",
  105. "@types/express": "^4.17.2",
  106. "@types/jest": "^24.9.0",
  107. "@types/node": "^13.1.8",
  108. "@types/node-fetch": "^2.5.4",
  109. "@types/react": "^16.9.19",
  110. "@types/react-dom": "^16.9.5",
  111. "@types/swagger-ui-dist": "3.0.5",
  112. "argparse": "^1.0.10",
  113. "body-parser": "^1.19.0",
  114. "compression": "^1.7.4",
  115. "express": "^4.17.1",
  116. "graphql": "^14.5.8",
  117. "immutable": "^3.8.2",
  118. "node-fetch": "^2.6.0",
  119. "react": "^16.12.0",
  120. "react-dom": "^16.12.0",
  121. "rxjs": "^6.5.4",
  122. "swagger-ui-dist": "^3.25.0",
  123. "util.promisify": "^1.0.1",
  124. "xhr2": "^0.2.0"
  125. }
  126. }