package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. "@typescript-eslint/eslint-plugin": "^2.13.0",
  67. "@typescript-eslint/eslint-plugin-tslint": "^2.13.0",
  68. "@typescript-eslint/parser": "^2.13.0",
  69. "benchmark": "^2.1.4",
  70. "circular-dependency-plugin": "^5.2.0",
  71. "concurrently": "^5.0.1",
  72. "cpx": "^1.5.0",
  73. "css-loader": "^3.3.2",
  74. "eslint": "^6.8.0",
  75. "extra-watch-webpack-plugin": "^1.0.3",
  76. "file-loader": "^5.0.2",
  77. "fs-extra": "^8.1.0",
  78. "graphql-code-generator": "^0.18.2",
  79. "graphql-codegen-time": "^0.18.2",
  80. "graphql-codegen-typescript-template": "^0.18.2",
  81. "http-server": "^0.12.0",
  82. "jest": "^24.9.0",
  83. "jest-raw-loader": "^1.0.1",
  84. "mini-css-extract-plugin": "^0.8.0",
  85. "node-sass": "^4.13.0",
  86. "raw-loader": "^4.0.0",
  87. "resolve-url-loader": "^3.1.1",
  88. "sass-loader": "^8.0.0",
  89. "simple-git": "^1.129.0",
  90. "style-loader": "^1.0.1",
  91. "ts-jest": "^24.2.0",
  92. "typescript": "^3.7.3",
  93. "webpack": "^4.41.3",
  94. "webpack-cli": "^3.3.10"
  95. },
  96. "dependencies": {
  97. "@types/argparse": "^1.0.36",
  98. "@types/benchmark": "^1.0.31",
  99. "@types/compression": "1.0.1",
  100. "@types/express": "^4.17.2",
  101. "@types/jest": "^24.0.23",
  102. "@types/node": "^12.12.18",
  103. "@types/node-fetch": "^2.5.4",
  104. "@types/react": "^16.9.16",
  105. "@types/react-dom": "^16.9.4",
  106. "@types/swagger-ui-dist": "3.0.5",
  107. "argparse": "^1.0.10",
  108. "body-parser": "^1.19.0",
  109. "compression": "^1.7.4",
  110. "express": "^4.17.1",
  111. "graphql": "^14.5.8",
  112. "immutable": "^3.8.2",
  113. "node-fetch": "^2.6.0",
  114. "react": "^16.12.0",
  115. "react-dom": "^16.12.0",
  116. "rxjs": "^6.5.3",
  117. "swagger-ui-dist": "^3.24.3",
  118. "util.promisify": "^1.0.0",
  119. "xhr2": "^0.2.0"
  120. }
  121. }