package.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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-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. "husky": "3.1.0",
  18. "lint-staged": "9.5.0",
  19. "node-sass": "^4.13.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 --passWithNoTests",
  27. "eject": "react-scripts eject"
  28. },
  29. "browserslist": [
  30. ">0.2%",
  31. "not dead",
  32. "not ie <= 11",
  33. "not op_mini all"
  34. ],
  35. "eslintConfig": {
  36. "extends": "react-app"
  37. },
  38. "husky": {
  39. "hooks": {
  40. "pre-commit": "lint-staged"
  41. }
  42. },
  43. "lint-staged": {
  44. "*.{js,css,json,md,ts,tsx}": [
  45. "prettier --write",
  46. "git add"
  47. ],
  48. "*.{js,ts,tsx}": [
  49. "eslint"
  50. ]
  51. }
  52. }