package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "molstar",
  3. "version": "0.2.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": "tslint 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}\" 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}\" lib/ --watch",
  23. "watch-webpack": "webpack -w --mode development --display minimal",
  24. "model-server": "node lib/servers/model/server.js",
  25. "model-server-watch": "nodemon --watch lib lib/servers/model/server.js",
  26. "preversion": "npm run test",
  27. "postversion": "git push && git push --tags",
  28. "prepublishOnly": "npm run test && npm run build"
  29. },
  30. "files": [
  31. "lib/"
  32. ],
  33. "nodemonConfig": {
  34. "ignoreRoot": [
  35. "./node_modules",
  36. ".git"
  37. ],
  38. "ignore": [],
  39. "delay": "2500"
  40. },
  41. "jest": {
  42. "moduleFileExtensions": [
  43. "ts",
  44. "js"
  45. ],
  46. "transform": {
  47. "\\.ts$": "ts-jest"
  48. },
  49. "moduleDirectories": [
  50. "node_modules",
  51. "lib"
  52. ],
  53. "testURL": "http://localhost/",
  54. "testRegex": "\\.spec\\.ts$"
  55. },
  56. "author": "Mol* Contributors",
  57. "contributors": [
  58. "Alexander Rose <alexander.rose@weirdbyte.de>",
  59. "David Sehnal <david.sehnal@gmail.com>",
  60. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>"
  61. ],
  62. "license": "MIT",
  63. "devDependencies": {
  64. "benchmark": "^2.1.4",
  65. "circular-dependency-plugin": "^5.0.2",
  66. "concurrently": "^4.1.0",
  67. "cpx": "^1.5.0",
  68. "css-loader": "^2.1.1",
  69. "extra-watch-webpack-plugin": "^1.0.3",
  70. "file-loader": "^3.0.1",
  71. "graphql-code-generator": "^0.18.2",
  72. "graphql-codegen-time": "^0.18.2",
  73. "graphql-codegen-typescript-template": "^0.18.2",
  74. "jest": "^24.8.0",
  75. "jest-raw-loader": "^1.0.1",
  76. "mini-css-extract-plugin": "^0.7.0",
  77. "node-sass": "^4.12.0",
  78. "raw-loader": "^2.0.0",
  79. "resolve-url-loader": "^3.1.0",
  80. "sass-loader": "^7.1.0",
  81. "style-loader": "^0.23.1",
  82. "ts-jest": "^24.0.2",
  83. "tslint": "^5.17.0",
  84. "typescript": "^3.5.1",
  85. "uglify-js": "^3.6.0",
  86. "util.promisify": "^1.0.0",
  87. "webpack": "^4.32.2",
  88. "webpack-cli": "^3.3.2"
  89. },
  90. "dependencies": {
  91. "@types/argparse": "^1.0.36",
  92. "@types/benchmark": "^1.0.31",
  93. "@types/compression": "0.0.36",
  94. "@types/express": "^4.16.1",
  95. "@types/jest": "^24.0.13",
  96. "@types/node": "^12.0.4",
  97. "@types/node-fetch": "^2.3.4",
  98. "@types/react": "^16.8.19",
  99. "@types/react-dom": "^16.8.4",
  100. "@types/swagger-ui-dist": "3.0.0",
  101. "@types/webgl2": "0.0.4",
  102. "argparse": "^1.0.10",
  103. "compression": "^1.7.4",
  104. "express": "^4.17.1",
  105. "graphql": "^14.3.1",
  106. "immutable": "^3.8.2",
  107. "node-fetch": "^2.6.0",
  108. "react": "^16.8.6",
  109. "react-dom": "^16.8.6",
  110. "rxjs": "^6.5.2",
  111. "swagger-ui-dist": "^3.22.2",
  112. "xhr2": "^0.2.0"
  113. }
  114. }