package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. "eslint-plugin-json-format": "2.0.1",
  28. "husky": "4.0.10",
  29. "lint-staged": "10.0.0",
  30. "node-sass": "4.13.1",
  31. "prettier": "1.19.1",
  32. "rewire": "4.0.1",
  33. "typescript": "3.7.5"
  34. },
  35. "eslintConfig": {
  36. "extends": "react-app",
  37. "plugins": [
  38. "json-format"
  39. ],
  40. "settings": {
  41. "json/sort-package-json": false
  42. },
  43. "rules": {
  44. "no-console": [
  45. "warn",
  46. {
  47. "allow": [
  48. "warn",
  49. "error",
  50. "info"
  51. ]
  52. }
  53. ]
  54. }
  55. },
  56. "homepage": "https://excalidraw.com",
  57. "husky": {
  58. "hooks": {
  59. "pre-commit": "lint-staged"
  60. }
  61. },
  62. "main": "src/index.js",
  63. "name": "excalidraw",
  64. "scripts": {
  65. "build": "react-scripts build",
  66. "build-node": "./scripts/build-node.js",
  67. "eject": "react-scripts eject",
  68. "fix": "npm run prettier -- --write",
  69. "prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\" --ignore-path=.eslintignore",
  70. "start": "react-scripts start",
  71. "test": "npm run test:app",
  72. "test:app": "react-scripts test --env=jsdom --passWithNoTests",
  73. "test:code": "npm run prettier -- --list-different"
  74. },
  75. "version": "1.0.0",
  76. "license": "MIT",
  77. "repository": {
  78. "type": "git",
  79. "url": "https://github.com/excalidraw/excalidraw.git"
  80. }
  81. }