package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "nanoid": "^2.1.9",
  10. "react": "16.12.0",
  11. "react-color": "^2.17.3",
  12. "react-dom": "16.12.0",
  13. "react-scripts": "3.3.0",
  14. "roughjs": "3.1.0"
  15. },
  16. "devDependencies": {
  17. "@types/jest": "^24.0.25",
  18. "@types/nanoid": "^2.1.0",
  19. "@types/react": "16.9.17",
  20. "@types/react-color": "^3.0.1",
  21. "@types/react-dom": "16.9.4",
  22. "husky": "3.1.0",
  23. "lint-staged": "9.5.0",
  24. "node-sass": "^4.13.0",
  25. "prettier": "1.19.1",
  26. "typescript": "3.7.4"
  27. },
  28. "scripts": {
  29. "start": "react-scripts start",
  30. "build": "react-scripts build",
  31. "test": "react-scripts test --env=jsdom --passWithNoTests",
  32. "eject": "react-scripts eject"
  33. },
  34. "browserslist": [
  35. ">0.2%",
  36. "not dead",
  37. "not ie <= 11",
  38. "not op_mini all"
  39. ],
  40. "eslintConfig": {
  41. "extends": "react-app"
  42. },
  43. "husky": {
  44. "hooks": {
  45. "pre-commit": "lint-staged"
  46. }
  47. },
  48. "lint-staged": {
  49. "*.{js,css,json,md,ts,tsx}": [
  50. "prettier --write",
  51. "git add"
  52. ],
  53. "*.{js,ts,tsx}": [
  54. "eslint"
  55. ]
  56. }
  57. }