package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "browserslist": [
  3. ">0.2%",
  4. "not dead",
  5. "not ie <= 11",
  6. "not op_mini all"
  7. ],
  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. "description": "",
  16. "devDependencies": {
  17. "@types/jest": "24.9.0",
  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": "4.0.10",
  23. "lint-staged": "9.5.0",
  24. "node-sass": "4.13.1",
  25. "prettier": "1.19.1",
  26. "typescript": "3.7.5"
  27. },
  28. "eslintConfig": {
  29. "extends": "react-app"
  30. },
  31. "homepage": "https://excalidraw.com",
  32. "husky": {
  33. "hooks": {
  34. "pre-commit": "lint-staged"
  35. }
  36. },
  37. "lint-staged": {
  38. "*.{js,css,scss,json,md,ts,tsx,html,yml}": [
  39. "prettier --write",
  40. "git add"
  41. ],
  42. "*.{js,ts,tsx}": [
  43. "eslint --max-warnings 0"
  44. ]
  45. },
  46. "main": "src/index.js",
  47. "name": "excalidraw",
  48. "scripts": {
  49. "build": "react-scripts build",
  50. "eject": "react-scripts eject",
  51. "fix": "npm run prettier -- --write",
  52. "prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\"",
  53. "start": "react-scripts start",
  54. "test": "npm run test:app",
  55. "test:app": "react-scripts test --env=jsdom --passWithNoTests",
  56. "test:code": "npm run prettier -- --list-different"
  57. },
  58. "version": "1.0.0"
  59. }