package.json 1.7 KB

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