package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "private": true,
  3. "name": "@antv/x6-app-dag",
  4. "version": "1.1.7",
  5. "scripts": {
  6. "start": "umi dev",
  7. "build": "umi build",
  8. "postinstall": "umi generate tmp",
  9. "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
  10. "test": "umi-test",
  11. "lint": "umi-lint --eslint src/ -p.no-semi --prettier --fix",
  12. "test:coverage": "umi-test --coverage"
  13. },
  14. "gitHooks": {
  15. "pre-commit": "lint-staged"
  16. },
  17. "lint-staged": {
  18. "*.{js,jsx,less,md,json}": [
  19. "prettier --write"
  20. ],
  21. "*.ts?(x)": [
  22. "prettier --parser=typescript --write"
  23. ]
  24. },
  25. "dependencies": {
  26. "@ant-design/icons": "^4.2.1",
  27. "@antv/x6": "^1.32.3",
  28. "@antv/x6-react-components": "^1.1.16",
  29. "@antv/x6-react-shape": "^1.6.0",
  30. "@types/dompurify": "^2.0.4",
  31. "ahooks": "^2.7.0",
  32. "antd": "^4.4.2",
  33. "babel-plugin-import": "^1.13.5",
  34. "classnames": "^2.2.6",
  35. "dompurify": "^2.1.1",
  36. "marked": "^3.0.8",
  37. "react": "^16.13.1",
  38. "react-dnd": "^11.1.3",
  39. "react-dnd-html5-backend": "^11.1.3",
  40. "react-dom": "^16.13.1",
  41. "umi-lint": "^2.0.2"
  42. },
  43. "devDependencies": {
  44. "@ant-design/pro-layout": "^5.0.12",
  45. "@umijs/preset-react": "1.x",
  46. "@umijs/test": "^3.2.19",
  47. "lint-staged": "^10.5.3",
  48. "prettier": "^2.2.1",
  49. "umi": "^3.2.19",
  50. "yorkie": "^2.0.0"
  51. }
  52. }