package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. },
  22. "jest": {
  23. "moduleFileExtensions": [
  24. "ts",
  25. "js"
  26. ],
  27. "transform": {
  28. "\\.ts$": "ts-jest",
  29. "\\.(glsl|frag|vert)$": "jest-raw-loader"
  30. },
  31. "moduleDirectories": [
  32. "node_modules",
  33. "build/node_modules"
  34. ],
  35. "moduleNameMapper": {
  36. "mol-app($|/.*)": "<rootDir>/src/mol-app$1",
  37. "mol-data($|/.*)": "<rootDir>/src/mol-data$1",
  38. "mol-geo($|/.*)": "<rootDir>/src/mol-geo$1",
  39. "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1",
  40. "mol-io($|/.*)": "<rootDir>/src/mol-io$1",
  41. "mol-math($|/.*)": "<rootDir>/src/mol-math$1",
  42. "mol-model($|/.*)": "<rootDir>/src/mol-model$1",
  43. "mol-ql($|/.*)": "<rootDir>/src/mol-ql$1",
  44. "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
  45. "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
  46. "mol-util($|/.*)": "<rootDir>/src/mol-util$1",
  47. "mol-view($|/.*)": "<rootDir>/src/mol-view$1"
  48. },
  49. "testRegex": "\\.spec\\.ts$"
  50. },
  51. "glslify": {
  52. "transform": [
  53. "glslify-import"
  54. ]
  55. },
  56. "author": "",
  57. "license": "MIT",
  58. "devDependencies": {
  59. "@types/argparse": "^1.0.33",
  60. "@types/benchmark": "^1.0.31",
  61. "@types/compression": "0.0.36",
  62. "@types/express": "^4.11.1",
  63. "@types/jest": "^22.2.3",
  64. "@types/node": "^10.1.1",
  65. "@types/node-fetch": "^1.6.9",
  66. "@types/react": "^16.3.14",
  67. "@types/react-dom": "^16.0.5",
  68. "benchmark": "^2.1.4",
  69. "copyfiles": "^2.0.0",
  70. "cpx": "^1.5.0",
  71. "css-loader": "^0.28.11",
  72. "extra-watch-webpack-plugin": "^1.0.3",
  73. "extract-text-webpack-plugin": "^4.0.0-beta.0",
  74. "file-loader": "^1.1.11",
  75. "glslify-import": "^3.1.0",
  76. "glslify-loader": "^1.0.2",
  77. "jest": "^22.4.4",
  78. "jest-raw-loader": "^1.0.1",
  79. "node-sass": "^4.9.0",
  80. "raw-loader": "^0.5.1",
  81. "resolve-url-loader": "^2.3.0",
  82. "sass-loader": "^7.0.1",
  83. "style-loader": "^0.21.0",
  84. "ts-jest": "^22.4.6",
  85. "tslint": "^5.10.0",
  86. "typescript": "^2.8.3",
  87. "uglify-js": "^3.3.25",
  88. "util.promisify": "^1.0.0",
  89. "webpack": "^4.8.3",
  90. "webpack-cli": "^2.1.3"
  91. },
  92. "dependencies": {
  93. "argparse": "^1.0.10",
  94. "compression": "^1.7.2",
  95. "express": "^4.16.3",
  96. "gl": "^4.0.4",
  97. "immutable": "^4.0.0-rc.9",
  98. "node-fetch": "^2.1.2",
  99. "react": "^16.3.2",
  100. "react-dom": "^16.3.2",
  101. "rxjs": "^6.1.0"
  102. }
  103. }