package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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-browser-languagedetector": "4.0.1",
  11. "nanoid": "2.1.10",
  12. "react": "16.12.0",
  13. "react-dom": "16.12.0",
  14. "react-scripts": "3.3.0",
  15. "roughjs": "4.0.4"
  16. },
  17. "description": "",
  18. "devDependencies": {
  19. "@types/jest": "25.1.0",
  20. "@types/nanoid": "2.1.0",
  21. "@types/react": "16.9.19",
  22. "@types/react-dom": "16.9.5",
  23. "husky": "4.2.1",
  24. "lint-staged": "10.0.3",
  25. "node-sass": "4.13.1",
  26. "prettier": "1.19.1",
  27. "rewire": "4.0.1",
  28. "typescript": "3.7.5"
  29. },
  30. "eslintConfig": {
  31. "extends": "react-app",
  32. "rules": {
  33. "no-console": [
  34. "warn",
  35. {
  36. "allow": [
  37. "warn",
  38. "error",
  39. "info"
  40. ]
  41. }
  42. ]
  43. }
  44. },
  45. "homepage": "https://excalidraw.com",
  46. "husky": {
  47. "hooks": {
  48. "pre-commit": "lint-staged"
  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}\" --ignore-path=.eslintignore",
  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. "license": "MIT",
  66. "repository": {
  67. "type": "git",
  68. "url": "https://github.com/excalidraw/excalidraw.git"
  69. }
  70. }