package.json 4.6 KB

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