package.json 1.1 KB

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