package.json 1004 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "react",
  3. "version": "1.0.0",
  4. "description": "",
  5. "keywords": [],
  6. "main": "src/index.js",
  7. "dependencies": {
  8. "lodash": "4.17.15",
  9. "react": "16.12.0",
  10. "react-dom": "16.12.0",
  11. "react-scripts": "3.3.0",
  12. "roughjs": "3.1.0"
  13. },
  14. "devDependencies": {
  15. "@types/react": "16.9.17",
  16. "@types/react-dom": "16.9.4",
  17. "husky": "3.1.0",
  18. "lint-staged": "9.5.0",
  19. "prettier": "1.19.1",
  20. "typescript": "3.7.4"
  21. },
  22. "scripts": {
  23. "start": "react-scripts start",
  24. "build": "react-scripts build",
  25. "test": "react-scripts test --env=jsdom",
  26. "eject": "react-scripts eject"
  27. },
  28. "browserslist": [
  29. ">0.2%",
  30. "not dead",
  31. "not ie <= 11",
  32. "not op_mini all"
  33. ],
  34. "eslintConfig": {
  35. "extends": "react-app"
  36. },
  37. "husky": {
  38. "hooks": {
  39. "pre-commit": "lint-staged"
  40. }
  41. },
  42. "lint-staged": {
  43. "*.{js,css,json,md,ts,tsx}": [
  44. "prettier --write",
  45. "git add"
  46. ],
  47. "*.{js,ts,tsx}": [
  48. "eslint"
  49. ]
  50. }
  51. }