package.json 980 B

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