package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "mol-star-proto",
  3. "version": "0.1.0",
  4. "description": "Comprehensive molecular library.",
  5. "homepage": "https://github.com/mol-star/mol-star-proto#readme",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/mol-star/mol-star-proto.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/mol-star/mol-star-proto/issues"
  12. },
  13. "scripts": {
  14. "lint": "tslint src/**/*.ts",
  15. "build": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html}\" build/node_modules/ && tsc",
  16. "watch": "tsc -watch",
  17. "watch-extra": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html}\" build/node_modules/ --watch",
  18. "test": "jest",
  19. "build-viewer": "webpack build/node_modules/apps/viewer/index.js --mode development -o build/viewer/index.js",
  20. "watch-viewer": "webpack build/node_modules/apps/viewer/index.js -w --mode development -o build/viewer/index.js",
  21. "model-server": "node build/node_modules/servers/model/server.js",
  22. "model-server-watch": "nodemon --watch build/node_modules build/node_modules/servers/model/server.js"
  23. },
  24. "nodemonConfig": {
  25. "ignoreRoot": [
  26. "./node_modules",
  27. ".git"
  28. ],
  29. "ignore": [],
  30. "delay": "2500"
  31. },
  32. "jest": {
  33. "moduleFileExtensions": [
  34. "ts",
  35. "js"
  36. ],
  37. "transform": {
  38. "\\.ts$": "ts-jest",
  39. "\\.(glsl|frag|vert)$": "jest-raw-loader"
  40. },
  41. "moduleDirectories": [
  42. "node_modules",
  43. "build/node_modules"
  44. ],
  45. "moduleNameMapper": {
  46. "mol-app($|/.*)": "<rootDir>/src/mol-app$1",
  47. "mol-data($|/.*)": "<rootDir>/src/mol-data$1",
  48. "mol-geo($|/.*)": "<rootDir>/src/mol-geo$1",
  49. "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1",
  50. "mol-io($|/.*)": "<rootDir>/src/mol-io$1",
  51. "mol-math($|/.*)": "<rootDir>/src/mol-math$1",
  52. "mol-model($|/.*)": "<rootDir>/src/mol-model$1",
  53. "mol-ql($|/.*)": "<rootDir>/src/mol-ql$1",
  54. "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
  55. "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
  56. "mol-util($|/.*)": "<rootDir>/src/mol-util$1",
  57. "mol-view($|/.*)": "<rootDir>/src/mol-view$1"
  58. },
  59. "testRegex": "\\.spec\\.ts$"
  60. },
  61. "glslify": {
  62. "transform": [
  63. "glslify-import"
  64. ]
  65. },
  66. "author": "",
  67. "license": "MIT",
  68. "devDependencies": {
  69. "@types/argparse": "^1.0.34",
  70. "@types/benchmark": "^1.0.31",
  71. "@types/compression": "0.0.36",
  72. "@types/express": "^4.11.1",
  73. "@types/jest": "^23.0.0",
  74. "@types/node": "~10.1.2",
  75. "@types/node-fetch": "^2.1.1",
  76. "@types/react": "^16.3.16",
  77. "@types/react-dom": "^16.0.5",
  78. "benchmark": "^2.1.4",
  79. "copyfiles": "^2.0.0",
  80. "cpx": "^1.5.0",
  81. "css-loader": "^0.28.11",
  82. "extra-watch-webpack-plugin": "^1.0.3",
  83. "extract-text-webpack-plugin": "^4.0.0-beta.0",
  84. "file-loader": "^1.1.11",
  85. "glslify-import": "^3.1.0",
  86. "glslify-loader": "^1.0.2",
  87. "jest": "^23.1.0",
  88. "jest-raw-loader": "^1.0.1",
  89. "node-sass": "^4.9.0",
  90. "raw-loader": "^0.5.1",
  91. "resolve-url-loader": "^2.3.0",
  92. "sass-loader": "^7.0.2",
  93. "style-loader": "^0.21.0",
  94. "ts-jest": "^22.4.6",
  95. "tslint": "^5.10.0",
  96. "typescript": "^2.9.1",
  97. "uglify-js": "^3.4.0",
  98. "util.promisify": "^1.0.0",
  99. "webpack": "^4.10.2",
  100. "webpack-cli": "^3.0.1"
  101. },
  102. "dependencies": {
  103. "argparse": "^1.0.10",
  104. "compression": "^1.7.2",
  105. "express": "^4.16.3",
  106. "immutable": "^4.0.0-rc.9",
  107. "node-fetch": "^2.1.2",
  108. "react": "^16.4.0",
  109. "react-dom": "^16.4.0",
  110. "rxjs": "^6.2.0"
  111. }
  112. }