package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "molstar",
  3. "version": "0.2.7",
  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. "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. "preversion": "npm run test",
  28. "postversion": "git push && git push --tags",
  29. "prepublishOnly": "npm run test && npm run build"
  30. },
  31. "files": [
  32. "lib/"
  33. ],
  34. "nodemonConfig": {
  35. "ignoreRoot": [
  36. "./node_modules",
  37. ".git"
  38. ],
  39. "ignore": [],
  40. "delay": "2500"
  41. },
  42. "jest": {
  43. "moduleFileExtensions": [
  44. "ts",
  45. "js"
  46. ],
  47. "transform": {
  48. "\\.ts$": "ts-jest"
  49. },
  50. "moduleDirectories": [
  51. "node_modules",
  52. "lib"
  53. ],
  54. "testURL": "http://localhost/",
  55. "testRegex": "\\.spec\\.ts$"
  56. },
  57. "author": "Mol* Contributors",
  58. "contributors": [
  59. "Alexander Rose <alexander.rose@weirdbyte.de>",
  60. "David Sehnal <david.sehnal@gmail.com>",
  61. "Sebastian Bittrich <sebastian.bittrich@rcsb.org>"
  62. ],
  63. "license": "MIT",
  64. "devDependencies": {
  65. "benchmark": "^2.1.4",
  66. "circular-dependency-plugin": "^5.2.0",
  67. "concurrently": "^4.1.2",
  68. "cpx": "^1.5.0",
  69. "css-loader": "^3.2.0",
  70. "extra-watch-webpack-plugin": "^1.0.3",
  71. "file-loader": "^4.2.0",
  72. "fs-extra": "^8.1.0",
  73. "graphql-code-generator": "^0.18.2",
  74. "graphql-codegen-time": "^0.18.2",
  75. "graphql-codegen-typescript-template": "^0.18.2",
  76. "http-server": "^0.11.1",
  77. "jest": "^24.9.0",
  78. "jest-raw-loader": "^1.0.1",
  79. "mini-css-extract-plugin": "^0.8.0",
  80. "node-sass": "^4.12.0",
  81. "raw-loader": "^3.1.0",
  82. "resolve-url-loader": "^3.1.0",
  83. "sass-loader": "^7.3.1",
  84. "simple-git": "^1.124.0",
  85. "style-loader": "^1.0.0",
  86. "ts-jest": "^24.0.2",
  87. "tslint": "^5.19.0",
  88. "typescript": "^3.5.3",
  89. "webpack": "^4.39.2",
  90. "webpack-cli": "^3.3.7"
  91. },
  92. "dependencies": {
  93. "@types/argparse": "^1.0.36",
  94. "@types/benchmark": "^1.0.31",
  95. "@types/compression": "1.0.1",
  96. "@types/express": "^4.17.1",
  97. "@types/jest": "^24.0.18",
  98. "@types/node": "^12.7.2",
  99. "@types/node-fetch": "^2.5.0",
  100. "@types/react": "^16.9.2",
  101. "@types/react-dom": "^16.9.0",
  102. "@types/swagger-ui-dist": "3.0.3",
  103. "@types/webgl2": "0.0.5",
  104. "argparse": "^1.0.10",
  105. "compression": "^1.7.4",
  106. "express": "^4.17.1",
  107. "graphql": "^14.4.2",
  108. "immutable": "^3.8.2",
  109. "node-fetch": "^2.6.0",
  110. "react": "^16.9.0",
  111. "react-dom": "^16.9.0",
  112. "rxjs": "^6.5.2",
  113. "swagger-ui-dist": "^3.23.5",
  114. "util.promisify": "^1.0.0",
  115. "xhr2": "^0.2.0"
  116. }
  117. }