package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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/jest": "25.1.0",
  23. "@types/nanoid": "2.1.0",
  24. "@types/react": "16.9.19",
  25. "@types/react-color": "3.0.1",
  26. "@types/react-dom": "16.9.5",
  27. "husky": "4.2.1",
  28. "lint-staged": "10.0.3",
  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. "rules": {
  37. "no-console": [
  38. "warn",
  39. {
  40. "allow": [
  41. "warn",
  42. "error",
  43. "info"
  44. ]
  45. }
  46. ]
  47. }
  48. },
  49. "homepage": "https://excalidraw.com",
  50. "husky": {
  51. "hooks": {
  52. "pre-commit": "lint-staged"
  53. }
  54. },
  55. "main": "src/index.js",
  56. "name": "excalidraw",
  57. "scripts": {
  58. "build": "react-scripts build",
  59. "build-node": "./scripts/build-node.js",
  60. "eject": "react-scripts eject",
  61. "fix": "npm run prettier -- --write",
  62. "prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\" --ignore-path=.eslintignore",
  63. "start": "react-scripts start",
  64. "test": "npm run test:app",
  65. "test:app": "react-scripts test --env=jsdom --passWithNoTests",
  66. "test:code": "npm run prettier -- --list-different"
  67. },
  68. "version": "1.0.0",
  69. "license": "MIT",
  70. "repository": {
  71. "type": "git",
  72. "url": "https://github.com/excalidraw/excalidraw.git"
  73. }
  74. }