package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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,gql}\" build/node_modules/ && tsc",
  16. "watch": "tsc -watch",
  17. "watch-extra": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html,gql}\" build/node_modules/ --watch",
  18. "watch-all-win": "start cmd /K npm run watch & start cmd /K npm run watch-extra & start cmd /K npm run watch-viewer & start http-server -p 1338",
  19. "test": "jest",
  20. "build-viewer": "webpack build/node_modules/apps/viewer/index.js --mode development -o build/viewer/index.js",
  21. "watch-viewer": "webpack build/node_modules/apps/viewer/index.js -w --mode development -o build/viewer/index.js",
  22. "build-ms-query": "webpack build/node_modules/apps/model-server-query/index.js --mode development -o build/model-server-query/index.js",
  23. "watch-ms-query": "webpack build/node_modules/apps/model-server-query/index.js -w --mode development -o build/model-server-query/index.js",
  24. "model-server": "node build/node_modules/servers/model/server.js",
  25. "model-server-watch": "nodemon --watch build/node_modules build/node_modules/servers/model/server.js"
  26. },
  27. "nodemonConfig": {
  28. "ignoreRoot": [
  29. "./node_modules",
  30. ".git"
  31. ],
  32. "ignore": [],
  33. "delay": "2500"
  34. },
  35. "jest": {
  36. "moduleFileExtensions": [
  37. "ts",
  38. "js"
  39. ],
  40. "transform": {
  41. "\\.ts$": "ts-jest",
  42. "\\.(glsl|frag|vert)$": "jest-raw-loader"
  43. },
  44. "moduleDirectories": [
  45. "node_modules",
  46. "build/node_modules"
  47. ],
  48. "testURL": "http://localhost/",
  49. "moduleNameMapper": {
  50. "mol-app($|/.*)": "<rootDir>/src/mol-app$1",
  51. "mol-data($|/.*)": "<rootDir>/src/mol-data$1",
  52. "mol-geo($|/.*)": "<rootDir>/src/mol-geo$1",
  53. "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1",
  54. "mol-io($|/.*)": "<rootDir>/src/mol-io$1",
  55. "mol-math($|/.*)": "<rootDir>/src/mol-math$1",
  56. "mol-model($|/.*)": "<rootDir>/src/mol-model$1",
  57. "mol-model-props($|/.*)": "<rootDir>/src/mol-model-props$1",
  58. "mol-plugin($|/.*)": "<rootDir>/src/mol-plugin$1",
  59. "mol-ql($|/.*)": "<rootDir>/src/mol-ql$1",
  60. "mol-repr($|/.*)": "<rootDir>/src/mol-repr$1",
  61. "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
  62. "mol-state($|/.*)": "<rootDir>/src/mol-state$1",
  63. "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
  64. "mol-theme($|/.*)": "<rootDir>/src/mol-theme$1",
  65. "mol-util($|/.*)": "<rootDir>/src/mol-util$1",
  66. "mol-canvas3d($|/.*)": "<rootDir>/src/mol-canvas3d$1"
  67. },
  68. "testRegex": "\\.spec\\.ts$"
  69. },
  70. "glslify": {
  71. "transform": [
  72. "glslify-import"
  73. ]
  74. },
  75. "author": "",
  76. "license": "MIT",
  77. "devDependencies": {
  78. "@types/argparse": "^1.0.35",
  79. "@types/benchmark": "^1.0.31",
  80. "@types/compression": "0.0.36",
  81. "@types/express": "^4.16.0",
  82. "@types/jest": "^23.3.10",
  83. "@types/node": "^10.12.10",
  84. "@types/node-fetch": "^2.1.4",
  85. "@types/react": "^16.7.9",
  86. "@types/react-dom": "^16.0.11",
  87. "@types/webgl2": "0.0.4",
  88. "benchmark": "^2.1.4",
  89. "circular-dependency-plugin": "^5.0.2",
  90. "cpx": "^1.5.0",
  91. "css-loader": "^1.0.1",
  92. "extra-watch-webpack-plugin": "^1.0.3",
  93. "file-loader": "^2.0.0",
  94. "glslify": "^7.0.0",
  95. "glslify-import": "^3.1.0",
  96. "glslify-loader": "^1.0.2",
  97. "graphql-code-generator": "^0.14.5",
  98. "graphql-codegen-typescript-template": "^0.14.5",
  99. "jest": "^23.6.0",
  100. "jest-raw-loader": "^1.0.1",
  101. "mini-css-extract-plugin": "^0.4.5",
  102. "node-sass": "^4.10.0",
  103. "raw-loader": "^0.5.1",
  104. "resolve-url-loader": "^3.0.0",
  105. "sass-loader": "^7.1.0",
  106. "style-loader": "^0.23.1",
  107. "ts-jest": "^23.10.5",
  108. "tslint": "^5.11.0",
  109. "typescript": "^3.2.0",
  110. "uglify-js": "^3.4.9",
  111. "util.promisify": "^1.0.0",
  112. "webpack": "^4.26.1",
  113. "webpack-cli": "^3.1.2"
  114. },
  115. "dependencies": {
  116. "argparse": "^1.0.10",
  117. "compression": "^1.7.3",
  118. "express": "^4.16.4",
  119. "graphql": "^14.0.2",
  120. "immutable": "^3.8.2",
  121. "node-fetch": "^2.3.0",
  122. "react": "^16.6.3",
  123. "react-dom": "^16.6.3",
  124. "rxjs": "^6.3.3"
  125. }
  126. }