package.json 1.4 KB

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