package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "gh-pages": "2.1.1",
  18. "husky": "3.1.0",
  19. "lint-staged": "9.5.0",
  20. "prettier": "1.19.1",
  21. "typescript": "3.7.4"
  22. },
  23. "scripts": {
  24. "start": "react-scripts start",
  25. "build": "react-scripts build",
  26. "test": "react-scripts test --env=jsdom",
  27. "eject": "react-scripts eject",
  28. "deploy": "gh-pages -d docs"
  29. },
  30. "browserslist": [
  31. ">0.2%",
  32. "not dead",
  33. "not ie <= 11",
  34. "not op_mini all"
  35. ],
  36. "eslintConfig": {
  37. "extends": "react-app"
  38. },
  39. "husky": {
  40. "hooks": {
  41. "pre-commit": "lint-staged"
  42. }
  43. },
  44. "lint-staged": {
  45. "*.{js,css,json,md,ts,tsx}": [
  46. "prettier --write",
  47. "git add"
  48. ],
  49. "*.{js,ts,tsx}": [
  50. "eslint"
  51. ]
  52. }
  53. }