package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@rcsb/rcsb-molstar",
  3. "version": "2.7.4-dev.3",
  4. "description": "RCSB PDB apps and props based on Mol*.",
  5. "homepage": "https://github.com/molstar/rcsb-molstar#readme",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/molstar/rcsb-molstar.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/molstar/rcsb-molstar/issues"
  12. },
  13. "scripts": {
  14. "test": "npm run lint",
  15. "lint": "eslint src/**/*.ts",
  16. "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
  17. "build-tsc": "tsc --incremental",
  18. "build-extra": "cpx \"src/**/*.{scss,html,ico}\" build/src/",
  19. "build-webpack": "webpack --mode production",
  20. "watch": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack\"",
  21. "watch-tsc": "tsc --watch --incremental",
  22. "watch-extra": "cpx \"src/**/*.{scss,html,ico}\" build/src/ --watch",
  23. "watch-webpack": "webpack -w --mode development --stats minimal",
  24. "serve": "http-server -p 1335",
  25. "preversion": "npm run test",
  26. "version": "npm run build",
  27. "postversion": "git push && git push --tags"
  28. },
  29. "publishConfig": {
  30. "registry": "https://registry.npmjs.org/"
  31. },
  32. "main": "build/src/index.js",
  33. "files": [
  34. "build/dist/",
  35. "build/src/viewer/"
  36. ],
  37. "author": "RCSB PDB and Mol* Contributors",
  38. "license": "MIT",
  39. "devDependencies": {
  40. "@typescript-eslint/eslint-plugin": "^6.4.0",
  41. "@typescript-eslint/parser": "^6.4.0",
  42. "buffer": "^6.0.3",
  43. "concurrently": "^8.2.0",
  44. "cpx2": "^5.0.0",
  45. "crypto-browserify": "^3.12.0",
  46. "css-loader": "^6.8.1",
  47. "eslint": "^8.47.0",
  48. "extra-watch-webpack-plugin": "^1.0.3",
  49. "file-loader": "^6.2.0",
  50. "fs-extra": "^11.1.1",
  51. "mini-css-extract-plugin": "^2.7.6",
  52. "path-browserify": "^1.0.1",
  53. "raw-loader": "^4.0.2",
  54. "sass": "^1.65.1",
  55. "sass-loader": "^13.3.2",
  56. "stream-browserify": "^3.0.0",
  57. "style-loader": "^3.3.3",
  58. "typescript": "^5.1.6",
  59. "webpack": "^5.88.2",
  60. "webpack-cli": "^5.1.4"
  61. },
  62. "dependencies": {
  63. "@types/react": "^18.2.20",
  64. "@types/react-dom": "^18.2.7",
  65. "molstar": "^3.38.3",
  66. "react": "^18.2.0",
  67. "react-dom": "^18.2.0",
  68. "rxjs": "^7.8.1",
  69. "tslib": "^2.6.1"
  70. }
  71. }