package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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": "tsc",
  16. "postbuild": "copyfiles --up 1 src/mol-gl/shader/*.vert src/mol-gl/shader/*.frag src/mol-gl/shader/*.glsl build/node_modules/",
  17. "watch": "tsc -watch",
  18. "test": "jest",
  19. "script": "node build/node_modules/script.js",
  20. "app-render-test": "webpack build/node_modules/apps/render-test/index.js --mode development -o web/render-test/index.js",
  21. "app-render-test-watch": "webpack build/node_modules/apps/render-test/index.js -w --mode development -o web/render-test/index.js"
  22. },
  23. "jest": {
  24. "moduleFileExtensions": [
  25. "ts",
  26. "js"
  27. ],
  28. "transform": {
  29. "\\.ts$": "ts-jest"
  30. },
  31. "moduleDirectories": [
  32. "node_modules",
  33. "build/node_modules"
  34. ],
  35. "moduleNameMapper": {
  36. "mol-data($|/.*)": "<rootDir>/src/mol-data$1",
  37. "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1",
  38. "mol-io($|/.*)": "<rootDir>/src/mol-io$1",
  39. "mol-math($|/.*)": "<rootDir>/src/mol-math$1",
  40. "mol-model($|/.*)": "<rootDir>/src/mol-model$1",
  41. "mol-ql($|/.*)": "<rootDir>/src/mol-ql$1",
  42. "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
  43. "mol-util($|/.*)": "<rootDir>/src/mol-util$1"
  44. },
  45. "testRegex": "\\.spec\\.ts$"
  46. },
  47. "glslify": {
  48. "transform": [
  49. "glslify-import"
  50. ]
  51. },
  52. "author": "",
  53. "license": "MIT",
  54. "devDependencies": {
  55. "@types/argparse": "^1.0.33",
  56. "@types/benchmark": "^1.0.31",
  57. "@types/express": "^4.11.1",
  58. "@types/jest": "^22.1.3",
  59. "@types/node": "^9.6.0",
  60. "@types/node-fetch": "^1.6.7",
  61. "@types/react": "^16.0.4",
  62. "@types/react-dom": "^16.0.4",
  63. "benchmark": "^2.1.4",
  64. "copyfiles": "^2.0.0",
  65. "glslify-import": "^3.1.0",
  66. "glslify-loader": "^1.0.2",
  67. "jest": "^22.4.2",
  68. "raw-loader": "^0.5.1",
  69. "regl": "git+https://github.com/regl-project/regl.git#45c6ec570232420fca21567499c9c5a2a054432e",
  70. "rollup": "^0.56.2",
  71. "rollup-plugin-buble": "^0.19.2",
  72. "rollup-plugin-commonjs": "^8.3.0",
  73. "rollup-plugin-json": "^2.3.0",
  74. "rollup-plugin-node-resolve": "^3.0.3",
  75. "rollup-watch": "^4.3.1",
  76. "ts-jest": "^22.0.4",
  77. "tslint": "^5.9.1",
  78. "typescript": "^2.8.1",
  79. "uglify-js": "^3.3.12",
  80. "util.promisify": "^1.0.0",
  81. "webpack": "^4.2.0",
  82. "webpack-cli": "^2.0.13"
  83. },
  84. "dependencies": {
  85. "argparse": "^1.0.10",
  86. "express": "^4.16.2",
  87. "node-fetch": "^2.0.0",
  88. "react": "^16.2.0",
  89. "react-dom": "^16.2.0"
  90. }
  91. }