package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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-canvas": "webpack build/node_modules/apps/canvas/index.js --mode development -o build/canvas/index.js",
  23. "watch-canvas": "webpack build/node_modules/apps/canvas/index.js -w --mode development -o build/canvas/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-ql($|/.*)": "<rootDir>/src/mol-ql$1",
  59. "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
  60. "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
  61. "mol-util($|/.*)": "<rootDir>/src/mol-util$1",
  62. "mol-view($|/.*)": "<rootDir>/src/mol-view$1"
  63. },
  64. "testRegex": "\\.spec\\.ts$"
  65. },
  66. "glslify": {
  67. "transform": [
  68. "glslify-import"
  69. ]
  70. },
  71. "author": "",
  72. "license": "MIT",
  73. "devDependencies": {
  74. "@types/argparse": "^1.0.34",
  75. "@types/benchmark": "^1.0.31",
  76. "@types/compression": "0.0.36",
  77. "@types/express": "^4.16.0",
  78. "@types/jest": "^23.3.2",
  79. "@types/node": "^10.10.1",
  80. "@types/node-fetch": "^2.1.2",
  81. "@types/react": "^16.4.14",
  82. "@types/react-dom": "^16.0.7",
  83. "benchmark": "^2.1.4",
  84. "cpx": "^1.5.0",
  85. "css-loader": "^1.0.0",
  86. "extra-watch-webpack-plugin": "^1.0.3",
  87. "file-loader": "^2.0.0",
  88. "glslify-import": "^3.1.0",
  89. "glslify-loader": "^1.0.2",
  90. "graphql-code-generator": "^0.12.3",
  91. "graphql-codegen-typescript-template": "^0.12.3",
  92. "jest": "^23.6.0",
  93. "jest-raw-loader": "^1.0.1",
  94. "mini-css-extract-plugin": "^0.4.2",
  95. "node-sass": "^4.9.3",
  96. "raw-loader": "^0.5.1",
  97. "resolve-url-loader": "^3.0.0",
  98. "sass-loader": "^7.1.0",
  99. "style-loader": "^0.23.0",
  100. "ts-jest": "^23.1.4",
  101. "tslint": "^5.11.0",
  102. "typescript": "^3.0.3",
  103. "uglify-js": "^3.4.9",
  104. "util.promisify": "^1.0.0",
  105. "webpack": "^4.19.0",
  106. "webpack-cli": "^3.1.0"
  107. },
  108. "dependencies": {
  109. "argparse": "^1.0.10",
  110. "compression": "^1.7.3",
  111. "express": "^4.16.3",
  112. "graphql": "^14.0.2",
  113. "graphql-request": "^1.8.2",
  114. "immer": "^1.6.0",
  115. "node-fetch": "^2.2.0",
  116. "react": "^16.5.1",
  117. "react-dom": "^16.5.1",
  118. "rxjs": "^6.3.2"
  119. }
  120. }