package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "@rcsb/rcsb-saguaro-3d",
  3. "version": "4.1.1",
  4. "description": "RCSB Molstar/Saguaro Web App",
  5. "main": "build/dist/app.js",
  6. "files": [
  7. "build",
  8. "lib"
  9. ],
  10. "scripts": {
  11. "devServer": "webpack-dev-server --config webpack.server.dev.config.js",
  12. "build-tsc": "tsc",
  13. "build-commonjs": "tsc --build tsconfig.commonjs.json",
  14. "build": "webpack --config ./webpack.config.js",
  15. "buildTmFv": "npm run clean && npm run build-tsc && npm run initTmFvBuild && webpack --config ./webpack.tm-saguaro.config.js",
  16. "devTmFv": "npm run clean && npm run build-tsc && npm run initTmFvBuild && webpack --mode development --config ./webpack.tm-saguaro.config.js",
  17. "initTmFvBuild": "mkdirp build/TmFeatureViewer && npm run cpPublic && npm run cpStyles",
  18. "cpPublic": "ncp public build/TmFeatureViewer && cp src/TmFv3DApp/*.html build/TmFeatureViewer",
  19. "buildAll": "npm run buildApp && npm run buildDoc",
  20. "buildApp": "npm run clean && npm run build-tsc && npm run build-commonjs && npm run cpStyles && npm run build && npm run copyConfig && npm run copyDef",
  21. "cpStyles": "ncp src/scss lib/scss",
  22. "copyConfig": "ncp lib/commonjs/config.js build/config.js",
  23. "copyDef": "ncp lib/app.d.ts build/app.d.ts",
  24. "buildDoc": "typedoc --excludeExternals --externalPattern \"**/node_modules/**\" --plugin typedoc-plugin-missing-exports --plugin typedoc-theme-hierarchy --theme hierarchy --entryPointStrategy expand ./src && sed -i '' '/---/d' docs/index.html",
  25. "clean": "del-cli lib && del-cli build",
  26. "publishApp": "npm publish",
  27. "packApp": "npm run buildApp && npm pack",
  28. "test": "echo \"Error: no test specified\" && exit 1"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git://github.com/rcsb/rcsb-saguaro-3d.git"
  33. },
  34. "keywords": [
  35. "3D",
  36. "structure",
  37. "1D",
  38. "viewer",
  39. "sequence",
  40. "annotations",
  41. "gene",
  42. "protein",
  43. "PDB",
  44. "RCSB",
  45. "UniProt"
  46. ],
  47. "author": "Joan Segura Mora <joan.segura@rcsb.org>",
  48. "publishConfig": {
  49. "registry": "https://registry.npmjs.org/"
  50. },
  51. "license": "MIT",
  52. "devDependencies": {
  53. "@babel/core": "^7.25.2",
  54. "@babel/plugin-proposal-class-properties": "^7.18.6",
  55. "@babel/preset-env": "^7.25.4",
  56. "@svgr/webpack": "^8.1.0",
  57. "@types/d3-scale": "^4.0.8",
  58. "@types/d3-selection": "^3.0.10",
  59. "@types/d3-zoom": "^3.0.8",
  60. "@types/lodash": "^4.17.7",
  61. "@types/react": "^18.3.4",
  62. "@types/react-dom": "^18.3.0",
  63. "@types/uniqid": "^5.3.4",
  64. "babel-loader": "^9.1.3",
  65. "boxicons": "^2.1.4",
  66. "buffer": "^6.0.3",
  67. "crypto-browserify": "^3.12.0",
  68. "css-loader": "^7.1.2",
  69. "del-cli": "^5.1.0",
  70. "file-loader": "^6.2.0",
  71. "html-webpack-plugin": "^5.6.0",
  72. "lodash": "^4.17.21",
  73. "mini-css-extract-plugin": "^2.9.1",
  74. "mkdirp": "^3.0.1",
  75. "ncp": "^2.0.0",
  76. "path-browserify": "^1.0.1",
  77. "raw-loader": "^4.0.2",
  78. "sass": "^1.77.8",
  79. "sass-loader": "^16.0.1",
  80. "stream-browserify": "^3.0.0",
  81. "style-loader": "^4.0.0",
  82. "ts-loader": "^9.5.1",
  83. "tslib": "^2.6.3",
  84. "typedoc": "^0.26.6",
  85. "typedoc-plugin-missing-exports": "^3.0.0",
  86. "typedoc-theme-hierarchy": "^5.0.3",
  87. "typescript": "^5.5.4",
  88. "uniqid": "^5.4.0",
  89. "webpack": "^5.94.0",
  90. "webpack-cli": "^5.1.4",
  91. "webpack-dev-server": "^5.0.4"
  92. },
  93. "dependencies": {
  94. "rxjs": "^7.5.6"
  95. },
  96. "peerDependencies": {
  97. "@rcsb/rcsb-api-tools": "^4.3.0",
  98. "@rcsb/rcsb-molstar": "^2.10.3",
  99. "@rcsb/rcsb-saguaro": "^3.0.9",
  100. "@rcsb/rcsb-saguaro-app": "^6.2.5",
  101. "molstar": "^4.4.1",
  102. "react": "^18.3.1",
  103. "react-dom": "^18.3.1"
  104. },
  105. "bugs": {
  106. "url": "https://github.com/rcsb/rcsb-saguaro-3d/issues"
  107. },
  108. "homepage": "https://rcsb.github.io/rcsb-saguaro-3d",
  109. "directories": {
  110. "doc": "docs",
  111. "example": "cdn-examples"
  112. }
  113. }