{"_id":"@digiforce-cloud/x6-vue-shape","_rev":"1-f1fd2155c92943f44293334e4799f746","name":"@digiforce-cloud/x6-vue-shape","dist-tags":{"latest":"1.5.0"},"versions":{"1.5.0":{"name":"@digiforce-cloud/x6-vue-shape","version":"1.5.0","description":"X6 shape for rendering vue components.","main":"lib/index.js","module":"es/index.js","unpkg":"dist/x6-vue-shape.js","jsdelivr":"dist/x6-vue-shape.js","types":"lib/index.d.ts","keywords":["shape","vue","render","x6","antv"],"scripts":{"clean":"rimraf dist es lib","lint":"eslint 'src/**/*.{js,ts}?(x)' --fix","build:esm":"tsc --module esnext --target es2015 --outDir ./es","build:cjs":"tsc --module commonjs --target es5 --outDir ./lib","build:umd":"rollup -c","build:watch":"yarn build:esm --w","build:watch:esm":"yarn build:esm --w","build:watch:cjs":"yarn build:cjs --w","build":"run-p build:cjs build:esm build:umd","prebuild":"run-s lint clean","prepare":"yarn build","precommit":"lint-staged"},"lint-staged":{"src/**/*.ts":["eslint --fix"]},"inherits":["@digiforce-cloud/x6-package-json/cli.json","@digiforce-cloud/x6-package-json/vue.json","@digiforce-cloud/x6-package-json/eslint.json","@digiforce-cloud/x6-package-json/rollup.json"],"dependencies":{"vue-demi":"latest"},"peerDependencies":{"@digiforce-cloud/x6":"1.34.0","@vue/composition-api":"^1.0.0-rc.6","vue":"^2.6.12 || ^3.0.0"},"peerDependenciesMeta":{"@vue/composition-api":{"optional":true}},"devDependencies":{"@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-node-resolve":"^13.0.4","@rollup/plugin-replace":"^3.0.0","@rollup/plugin-typescript":"^8.2.5","@types/node":"^16.9.1","@typescript-eslint/eslint-plugin":"^4.31.0","@typescript-eslint/parser":"^4.31.0","@vue/composition-api":"^1.0.0-rc.6","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.3.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.24.2","eslint-plugin-jest":"^24.4.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-react":"^7.25.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-unicorn":"^36.0.0","fs-extra":"^10.0.0","lint-staged":"^11.1.2","npm-run-all":"^4.1.5","postcss":"^8.3.6","prettier":"^2.4.0","pretty-quick":"^3.1.1","rimraf":"^3.0.2","rollup":"^2.56.3","rollup-plugin-auto-external":"^2.0.0","rollup-plugin-filesize":"^9.1.1","rollup-plugin-postcss":"^4.0.1","rollup-plugin-progress":"^1.1.2","rollup-plugin-terser":"^7.0.2","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.3","vue":"^2.6.12"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"contributors":[],"license":"MIT","homepage":"https://github.com/antvis/x6","bugs":{"url":"https://github.com/antvis/x6/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/antvis/x6.git","directory":"packages/x6-react-shape"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"gitHead":"44f3f4bd7e4758184632e9c73ee2dcedbd7d8f25","_id":"@digiforce-cloud/x6-vue-shape@1.5.0","_nodeVersion":"16.17.0","_npmVersion":"lerna/4.0.0/node@v16.17.0+x64 (linux)","dist":{"integrity":"sha512-zD1NxuIDlNaE+r+DR+pO5Rxf3fIZZ0a5wujc0MSYfHtfXl3qfXFOVRAu34UvT488BC042/B93RawxINOGv2pZw==","shasum":"788b68547fa6d756364f95ebf64adf416583a6aa","tarball":"https://registry.npmjs.org/@digiforce-cloud/x6-vue-shape/-/x6-vue-shape-1.5.0.tgz","fileCount":41,"unpackedSize":83753,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcuYPTDXjycq+Gjo4na++9+79jwDWo34n9C1DNr3S5iQIgE6m9dUgd/to9Qp4mG2jfEpUMB/fb1DuiHz68N/1c+PI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGbyHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvAhAAicJyeNAu1qgA+xQrnCmINlumhX3wY5nZNjKaJwwe3753oD14\r\n3N+aXePzBp5/cchgE3UN0VtcMVQ9JcGWq4v8qvawu9anv8j4e0ThBe8gayGm\r\n46BC3mvgMnUyF5BLMPHRweP/op1F5U4C5uRJeGQ5GkVB2PPSGZSluuyO30wM\r\nPNXnEPayv5uSFddQGPhEud0krxzKcJ2HDJzW8DeeN/ryXSWMBW6MT9cQ0wB+\r\nPTRGQdv6VqjZmoQ8N/J7GeOH87qH7GWAaA9/3on29u12XrP+VWIAgzGD++jk\r\nuZz3r13WoBydHZHnw0I6TjiUPKvn3wRlSst5yGTACHCIKF1d1IOKdY/HMPEr\r\ns7ZOImERS7WJgb8V+T9LVTrC9cSie9Hdv8pKc4KfoU2o1s9Asb/4ei0a6Udj\r\nbom0w7pCbYPkS3v2LE02ea8DXlBqQ/zos9GlTnAeP/MPB2cf+stGkhzaCNkP\r\nW3PmG3ewF+7ci4sqMGLpyma4nlhDeYJQ3Xxfqy8fDDLLYt60zUCwQ1bxzWh6\r\nfeS1VGAvrrkINH/yrHZm2YCbK2st9qB99WllOm9H0ZwEWBDrFwm7EA4JYXzL\r\nqzGXSsco0P4cQb7s4wNbhC50tjObfmEYHfuInFBxZSd4n9n0t7bgK7YV2Kgx\r\nNvPhsTS7STrT8ok5HaufrbZrMjgFrEtPqJk=\r\n=o+CP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"thodinh.sg","email":"d.tr.tho@gmail.com"},"directories":{},"maintainers":[{"name":"thodinh.sg","email":"d.tr.tho@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/x6-vue-shape_1.5.0_1662631047635_0.15547855451336678"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-08T09:57:27.577Z","1.5.0":"2022-09-08T09:57:27.800Z","modified":"2022-09-26T03:14:20.652Z"},"maintainers":[{"email":"locngo@innoria.com","name":"locngo-innoria"},{"email":"d.tr.tho@gmail.com","name":"thodinh.sg"}],"description":"X6 shape for rendering vue components.","homepage":"https://github.com/antvis/x6","keywords":["shape","vue","render","x6","antv"],"repository":{"type":"git","url":"git+ssh://git@github.com/antvis/x6.git","directory":"packages/x6-react-shape"},"contributors":[],"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"bugs":{"url":"https://github.com/antvis/x6/issues"},"license":"MIT","readme":"# @antv/x6-vue-shape\n\n> x6 shape for rendering vue components\n\n## Installation\n\n```shell\n# npm\n$ npm install @antv/x6-vue-shape --save\n\n# yarn\n$ yarn add @antv/x6-vue-shape\n```\n\n## Usage\n\n```ts\nimport { Graph } from '@antv/x6'\nimport '@antv/x6-vue-shape'\nimport HelloWord from './HelloWord.vue'\n\n// render\ngraph.addNode({\n  shape: 'vue-shape',\n  x: 32,\n  y: 48,\n  width: 180,\n  height: 40,\n  component: {\n    template: `<hello-world :name=\"name\"></hello-world>`,\n    data() {\n      return {\n        name: 'x6',\n      }\n    },\n    components: {\n      HelloWorld,\n    }\n  },\n})\n```\n\n","readmeFilename":"README.md"}