package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name": "gemini-viewer-ui",
  3. "version": "0.1.0",
  4. "private": true,
  5. "main": "main.js",
  6. "dependencies": {
  7. "@ant-design/icons": "^4.7.0",
  8. "@pattern-x/gemini-viewer": "^1.0.8",
  9. "@reduxjs/toolkit": "^1.6.2",
  10. "@testing-library/jest-dom": "^5.14.1",
  11. "@testing-library/react": "^11.2.7",
  12. "@testing-library/user-event": "^12.8.3",
  13. "@types/node": "^12.20.33",
  14. "@types/react": "^17.0.31",
  15. "@types/react-dom": "^17.0.10",
  16. "@types/react-router": "^5.1.17",
  17. "@types/react-router-dom": "^5.3.1",
  18. "antd": "^4.16.13",
  19. "classnames": "^2.3.1",
  20. "dat.gui": "^0.7.7",
  21. "react": "^17.0.2",
  22. "react-dom": "^17.0.2",
  23. "react-redux": "^7.2.5",
  24. "react-router": "^5.2.1",
  25. "react-router-dom": "^5.3.0",
  26. "react-scripts": "4.0.3",
  27. "typescript": "^4.4.4",
  28. "web-vitals": "^1.1.2"
  29. },
  30. "scripts": {
  31. "electron": "electron .",
  32. "dev": "electron . --debug | node scripts/start.js",
  33. "pack": "electron-packager . --out ./out --overwrite",
  34. "start": "react-scripts start",
  35. "build": "react-scripts build",
  36. "test": "react-scripts test",
  37. "eject": "react-scripts eject"
  38. },
  39. "eslintConfig": {
  40. "extends": [
  41. "react-app",
  42. "react-app/jest"
  43. ]
  44. },
  45. "browserslist": {
  46. "production": [
  47. ">0.2%",
  48. "not dead",
  49. "not op_mini all"
  50. ],
  51. "development": [
  52. "last 1 chrome version",
  53. "last 1 firefox version",
  54. "last 1 safari version"
  55. ]
  56. },
  57. "devDependencies": {
  58. "@types/dat.gui": "^0.7.7",
  59. "@types/lodash": "^4.14.176",
  60. "@types/react-redux": "^7.1.20",
  61. "electron": "^16.0.2",
  62. "electron-packager": "^15.4.0",
  63. "eslint": "^7.32.0",
  64. "eslint-plugin-prettier": "^4.0.0",
  65. "node-sass": "^6.0.1"
  66. },
  67. "rules": {
  68. "@typescript-eslint/explicit-module-boundary-types": "off",
  69. "no-multi-spaces": 2,
  70. "block-spacing": [
  71. "error",
  72. "always"
  73. ],
  74. "comma-spacing": [
  75. "error",
  76. {
  77. "before": false,
  78. "after": true
  79. }
  80. ],
  81. "key-spacing": [
  82. "error",
  83. {
  84. "beforeColon": false,
  85. "afterColon": true
  86. }
  87. ],
  88. "keyword-spacing": [
  89. "error",
  90. {
  91. "before": true
  92. }
  93. ],
  94. "arrow-spacing": [
  95. "error",
  96. {
  97. "before": true,
  98. "after": true
  99. }
  100. ],
  101. "curly": [
  102. "error",
  103. "all"
  104. ],
  105. "prettier/prettier": [
  106. "error",
  107. {
  108. "endOfLine": "auto",
  109. "printWidth": 128,
  110. "tabWidth": 4,
  111. "useTabs": false,
  112. "semi": true,
  113. "singleQuote": false,
  114. "bracketSpacing": true
  115. }
  116. ]
  117. }
  118. }