package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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.2.0",
  10. "i18next": "19.1.0",
  11. "i18next-browser-languagedetector": "4.0.1",
  12. "i18next-xhr-backend": "3.2.2",
  13. "nanoid": "2.1.10",
  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/enzyme": "3.10.4",
  23. "@types/enzyme-adapter-react-16": "1.0.5",
  24. "@types/jest": "25.1.0",
  25. "@types/nanoid": "2.1.0",
  26. "@types/react": "16.9.19",
  27. "@types/react-color": "3.0.1",
  28. "@types/react-dom": "16.9.5",
  29. "enzyme": "3.11.0",
  30. "enzyme-adapter-react-16": "1.15.2",
  31. "husky": "4.2.1",
  32. "lint-staged": "10.0.3",
  33. "node-sass": "4.13.1",
  34. "prettier": "1.19.1",
  35. "rewire": "4.0.1",
  36. "typescript": "3.7.5"
  37. },
  38. "eslintConfig": {
  39. "extends": "react-app",
  40. "rules": {
  41. "no-console": [
  42. "warn",
  43. {
  44. "allow": [
  45. "warn",
  46. "error",
  47. "info"
  48. ]
  49. }
  50. ]
  51. }
  52. },
  53. "homepage": "https://excalidraw.com",
  54. "husky": {
  55. "hooks": {
  56. "pre-commit": "lint-staged"
  57. }
  58. },
  59. "main": "src/index.js",
  60. "name": "excalidraw",
  61. "scripts": {
  62. "build": "react-scripts build",
  63. "build-node": "./scripts/build-node.js",
  64. "eject": "react-scripts eject",
  65. "fix": "npm run prettier -- --write",
  66. "prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\" --ignore-path=.eslintignore",
  67. "start": "react-scripts start",
  68. "test": "npm run test:app",
  69. "test:app": "react-scripts test --env=jsdom --passWithNoTests",
  70. "test:code": "npm run prettier -- --list-different"
  71. },
  72. "version": "1.0.0",
  73. "license": "MIT",
  74. "repository": {
  75. "type": "git",
  76. "url": "https://github.com/excalidraw/excalidraw.git"
  77. }
  78. }