package.json 1.2 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. "@fortawesome/fontawesome-svg-core": "^1.2.26",
  10. "@fortawesome/free-solid-svg-icons": "^5.12.0",
  11. "@fortawesome/react-fontawesome": "^0.1.8",
  12. "lodash": "4.17.15",
  13. "react": "16.12.0",
  14. "react-dom": "16.12.0",
  15. "react-scripts": "3.3.0",
  16. "roughjs": "3.1.0"
  17. },
  18. "devDependencies": {
  19. "@types/react": "16.9.17",
  20. "@types/react-dom": "16.9.4",
  21. "husky": "3.1.0",
  22. "lint-staged": "9.5.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. }