package.json 1.1 KB

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