package.json 1.2 KB

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