package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "covid19india",
  3. "version": "1.0.0",
  4. "private": true,
  5. "homepage": "http://covid19india.github.io/",
  6. "dependencies": {
  7. "@juggle/resize-observer": "^3.1.3",
  8. "@material-ui/core": "^4.9.9",
  9. "@material-ui/icons": "^4.9.1",
  10. "@testing-library/jest-dom": "^5.3.0",
  11. "@testing-library/react": "^10.0.1",
  12. "animejs": "^3.2.0",
  13. "axios": "^0.19.2",
  14. "chart.js": "^2.9.3",
  15. "corejs-typeahead": "^1.3.1",
  16. "d3": "^5.15.0",
  17. "d3-svg-legend": "^2.25.6",
  18. "date-fns": "^2.11.0",
  19. "i": "^0.3.6",
  20. "install": "^0.13.0",
  21. "json2csv": "^5.0.0",
  22. "moment": "^2.24.0",
  23. "node-sass": "^4.13.1",
  24. "react": "^16.13.1",
  25. "react-autosuggest": "^10.0.0",
  26. "react-chartjs-2": "^2.9.0",
  27. "react-dom": "^16.13.1",
  28. "react-feather": "^2.0.3",
  29. "react-infinite-scroll-component": "^5.0.4",
  30. "react-force-graph-2d": "^1.15.1",
  31. "react-router-dom": "^5.1.2",
  32. "react-router-transition": "^2.0.0",
  33. "react-scripts": "3.4.0",
  34. "react-table": "^7.0.4",
  35. "react-lightweight-tooltip": "1.0.0",
  36. "sass-lint": "^1.13.1",
  37. "topojson": "^3.0.2"
  38. },
  39. "scripts": {
  40. "start": "react-scripts start",
  41. "build": "react-scripts build && cp build/index.html build/404.html",
  42. "test": "react-scripts test",
  43. "eject": "react-scripts eject",
  44. "eslint": "eslint .",
  45. "eslint:fix": "eslint --fix .",
  46. "format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|md|vue)\"",
  47. "scsslint": "sass-lint-auto-fix"
  48. },
  49. "eslintConfig": {
  50. "extends": "react-app"
  51. },
  52. "husky": {
  53. "hooks": {
  54. "pre-commit": "lint-staged"
  55. }
  56. },
  57. "lint-staged": {
  58. "*.+(js|jsx)": [
  59. "eslint --fix --max-warnings=0",
  60. "prettier --write"
  61. ],
  62. "*.+(json|yml|yaml|md|vue)": [
  63. "prettier --write"
  64. ],
  65. "*.+(css|scss)": [
  66. "sass-lint-auto-fix"
  67. ]
  68. },
  69. "devDependencies": {
  70. "eslint": "^6.8.0",
  71. "eslint-config-google": "^0.14.0",
  72. "eslint-config-prettier": "^6.10.1",
  73. "eslint-plugin-prettier": "^3.1.2",
  74. "eslint-plugin-react": "^7.19.0",
  75. "husky": "^4.2.3",
  76. "lint-staged": "^10.0.9",
  77. "prettier": "^2.0.2",
  78. "sass-lint-auto-fix": "^0.21.0"
  79. },
  80. "browserslist": {
  81. "production": [
  82. ">0.2%",
  83. "not dead",
  84. "not op_mini all"
  85. ],
  86. "development": [
  87. "last 1 chrome version",
  88. "last 1 firefox version",
  89. "last 1 safari version"
  90. ]
  91. }
  92. }