package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "browserslist": [
  3. ">0.2%",
  4. "not dead",
  5. "not ie <= 11",
  6. "not op_mini all"
  7. ],
  8. "dependencies": {
  9. "i18next": "19.0.3",
  10. "i18next-browser-languagedetector": "4.0.1",
  11. "i18next-xhr-backend": "3.2.2",
  12. "nanoid": "2.1.9",
  13. "react": "16.12.0",
  14. "react-dom": "16.12.0",
  15. "react-i18next": "11.3.1",
  16. "react-scripts": "3.3.0",
  17. "roughjs": "4.0.4"
  18. },
  19. "description": "",
  20. "devDependencies": {
  21. "@types/jest": "24.9.0",
  22. "@types/nanoid": "2.1.0",
  23. "@types/react": "16.9.17",
  24. "@types/react-color": "3.0.1",
  25. "@types/react-dom": "16.9.4",
  26. "husky": "4.0.10",
  27. "lint-staged": "10.0.0",
  28. "node-sass": "4.13.1",
  29. "prettier": "1.19.1",
  30. "rewire": "^4.0.1",
  31. "typescript": "3.7.5"
  32. },
  33. "eslintConfig": {
  34. "extends": "react-app"
  35. },
  36. "homepage": "https://excalidraw.com",
  37. "husky": {
  38. "hooks": {
  39. "pre-commit": "lint-staged"
  40. }
  41. },
  42. "lint-staged": {
  43. "*.{js,css,scss,json,md,ts,tsx,html,yml}": [
  44. "prettier --write",
  45. "git add"
  46. ],
  47. "*.{js,ts,tsx}": [
  48. "eslint --max-warnings 0"
  49. ]
  50. },
  51. "main": "src/index.js",
  52. "name": "excalidraw",
  53. "scripts": {
  54. "build": "react-scripts build",
  55. "build-node": "./scripts/build-node.js",
  56. "eject": "react-scripts eject",
  57. "fix": "npm run prettier -- --write",
  58. "prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\"",
  59. "start": "react-scripts start",
  60. "test": "npm run test:app",
  61. "test:app": "react-scripts test --env=jsdom --passWithNoTests",
  62. "test:code": "npm run prettier -- --list-different"
  63. },
  64. "version": "1.0.0"
  65. }