UNPKG

@ant-design/pro-flow

Version:
129 lines (128 loc) 3.41 kB
{ "name": "@ant-design/pro-flow", "version": "1.3.12", "description": "A React based Flow components", "keywords": [ "flow", "ant-design", "editor", "canvas" ], "homepage": "https://github.com/ant-design/pro-flow", "bugs": { "url": "https://github.com/ant-design/pro-flow/issues/new" }, "repository": { "type": "git", "url": "https://github.com/ant-design/pro-flow.git" }, "license": "MIT", "author": "arvinxx(arvinx@foxmail.com)", "sideEffects": false, "main": "es/index.js", "module": "es/index.js", "types": "es/index.d.ts", "files": [ "es" ], "scripts": { "build": "father build", "build:watch": "father dev", "ci": "npm run lint && npm run type-check", "clean": "rm -rf es lib dist coverage .dumi/tmp .eslintcache", "dev": "dumi dev", "docs:build": "dumi build", "docs:preview": "PREVIEW=1 dumi build", "doctor": "father doctor", "lint": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", "prepare": "husky install && npm run setup", "prepublishOnly": "father doctor && npm run build", "prettier": "prettier -c --write \"**/**\"", "release": "semantic-release", "setup": "dumi setup", "start": "dumi dev", "test": "vitest", "test:coverage": "vitest run --coverage", "test:update": "vitest -u", "type-check": "tsc -p tsconfig-check.json" }, "lint-staged": { "*.{md,json}": [ "prettier --write --no-error-on-unmatched-pattern" ], "*.{js,jsx}": [ "eslint --fix", "prettier --write" ], "*.{ts,tsx}": [ "eslint --fix", "prettier --parser=typescript --write" ] }, "dependencies": { "@ant-design/icons": "^5", "@ant-design/pro-editor": "0.41.0", "@babel/runtime": "^7", "@dagrejs/dagre": "1.0.4", "@dnd-kit/core": "^6.1.0", "@floating-ui/react": "^0.24", "ahooks": "^3", "antd": "^5", "antd-style": "^3", "fast-deep-equal": "^3", "immer": "^10", "lodash-es": "^4", "lucide-react": "latest", "nanoid": "^4", "polished": "^4", "react-hotkeys-hook": "^4", "react-layout-kit": "^1", "reactflow": "^11.10.0", "use-merge-value": "^1", "yjs": "^13", "zustand": "^4.4.1", "zustand-utils": "^1.3.1" }, "devDependencies": { "@commitlint/cli": "^17", "@testing-library/react": "^13", "@types/lodash-es": "^4", "@types/react": "^18", "@types/react-dom": "^18", "@types/uuid": "^9", "@umijs/lint": "^4", "@vitest/coverage-v8": "latest", "commitlint": "^17", "commitlint-config-gitmoji": "^2", "concurrently": "^7", "cross-env": "^7", "dumi": "^2", "dumi-theme-antd-style": "latest", "eslint": "^8", "eslint-import-resolver-alias": "^1", "eslint-import-resolver-typescript": "^2", "father": "^4", "husky": "^8", "jsdom": "^21.1.1", "lint-staged": "^13", "prettier": "^2", "prettier-plugin-organize-imports": "^3", "prettier-plugin-packagejson": "^2", "react": "^18", "react-dom": "^18", "semantic-release": "^20", "semantic-release-config-gitmoji": "^1", "stylelint": "^14", "typescript": "^5", "vitest": "latest" }, "peerDependencies": { "antd": "^5", "react": ">=18", "react-dom": ">=18" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" } }