{"name":"@antv/x6-components","version":"0.1.5","description":"React components for building x6 editors","main":"lib/index.js","module":"es/index.js","types":"lib/index.d.ts","directories":{"es":"es/","lib":"lib/","src":"src/"},"sideEffects":["es/**/style/*","lib/**/style/*","*.less"],"scripts":{"lint":"run-s lint:ts lint:es lint:style","lint:es":"eslint --ext .js scripts --fix","lint:ts":"tslint -c tslint.json -p tsconfig.json --fix","lint:style":"stylelint 'src/**/*.less' --syntax less --fix","clean:es":"rimraf ./es","clean:lib":"rimraf ./lib","clean":"run-p clean:es clean:lib","watch":"watch 'yarn build' ./src","build:es":"tsc --module es2015 --target es2015 --outDir ./es","build:lib":"tsc --module commonjs --target es5 --outDir ./lib","build:ts":"run-p build:lib build:es","build:less":"node ./scripts/less.js","build":"run-s build:ts build:less","prepare":"yarn build","prebuild":"run-s lint clean","precommit":"lint-staged"},"keywords":["x6","x6-editor","editor","ui","component","components","react-components"],"lint-staged":{"src/**/*.ts":["tslint -c tslint.json -p ./tsconfig.json --fix","git add"],"*.js":["eslint --fix","git add"],"src/**/*.less":["stylelint --syntax less --fix","git add"]},"dependencies":{"clamp":"^1.0.1","classnames":"^2.2.6","rc-dropdown":"^3.0.0-alpha.0","rc-util":"^4.15.7","react-color":"^2.17.3","react-resize-detector":"^4.2.1","ua-parser-js":"^0.7.20"},"devDependencies":{"@types/antd":"^1.0.0","@types/classnames":"^2.2.9","@types/react":"^16.9.13","@types/react-color":"^3.0.1","@types/react-resize-detector":"^4.2.0","@types/ua-parser-js":"^0.7.33","antd":"^3.25.3","cross-env":"^6.0.0","eslint":"^6.1.0","eslint-config-airbnb-base":"^14.0.0","eslint-config-prettier":"^6.7.0","eslint-plugin-import":"^2.18.2","fs-extra":"^8.1.0","lint-staged":"^9.5.0","npm-run-all":"^4.1.5","react":"^16.12.0","react-dom":"^16.12.0","rimraf":"^3.0.0","stylelint":"^12.0.0","stylelint-config-prettier":"^6.0.0","stylelint-config-rational-order":"^0.1.2","stylelint-config-standard":"^19.0.0","stylelint-declaration-block-no-ignored-properties":"^2.1.0","stylelint-order":"^3.0.0","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","tslint-eslint-rules":"^5.4.0","tslint-react":"^4.1.0","typescript":"^3.7.2","watch":"^1.0.2"},"peerDependencies":{"antd":">=3.19.5","react":">=16.8.6","react-dom":">=16.8.6"},"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+https://github.com/antvis/x6.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"gitHead":"5bfbde57e8e5868e452f308f4a53e98563250a69","_id":"@antv/x6-components@0.1.5","_nodeVersion":"8.15.1","_npmVersion":"lerna/3.19.0/node@v8.15.1+x64 (darwin)","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"integrity":"sha512-pV8aFvv4YjSrto82zE/bLhBXyPT0Bj2hh71Zpui5sTrUmRt4c582Wl0X757U7NY7TIDeVU1l2AiiE+Htyuxqgw==","shasum":"ec26718b5b17da0a280ee0089129e223df9f0096","tarball":"http://registry-npm.ywwl.com/@antv/x6-components/download/@antv/x6-components-0.1.5.tgz","fileCount":339,"unpackedSize":456979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8RgoCRA9TVsSAnZWagAAEXoP/2KkCRFg3LUZfRf+dYFU\nU1lnzE9w3UrJ52RzviaL3RMY+GpTSTcXUB94u0M3eGuARyvCm6OgH24Y0Ecy\nKPM6htGyUnJLlzhG1Qt3d6/+6E15OyLxDrabMbJndcF7GXr2PxQeafDrHr8+\nYQtsitpcmvYcbDrkUNkqkl7Obfi4NXYVr/GcgZD6TVVV6FTAoXPPzGgtfhxf\nyiQqKYDLGSJKL0RUfAwbEbiWshJDC6dwVGsFLnvIvJbmnnIVeEKyP20BVctu\nUdAdvohUgthmBJ7MkGWVii2MYgIX1qQaZtqNAlYrsEtbHHtuqQX22P8WGbxx\nfNb8pLCbdL6d/giXQxMBkLg8X6i1pL9OLOol/9oDxFMVpw6xLAb1RT4i95tU\n3Bf+1/KPYmfmSH2SH1Lt4za1V0ObhivlkP+855H77Eh6LAVu8Dcl3T5grSxP\nUeSqi//gZFEWRgZ56vfr5sFZEDkT09MLuBOrU/O4nSfIIM1YIQ8OohTWzgHJ\nDtp52zrUT86oUV8yqNII6owL97xUsrpNmtqpjcy7fRC61lp7NBJYlg/z5E+1\nOascMZcdrpsXxHtp4jdTSidVarcYVur3Z9fh/hpQksj6acPFvfu8v6IgOtI2\nc5K2NmNkJLkLd9i30S/Ws67sF4+wUw6eY8C9hnc9CvZtlw6mYVDorrVf2st/\neCk7\r\n=hhuT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1WNLl8TEiZEqqoyHrxGD0vdcJy4I3Y8SEJXWqRtFemAiEAl0lyo8DC1Kae68vYdCvLz380kWZyvUlJdMS02EUAeZM="}],"size":80341,"noattachment":false,"key":"/@antv/x6-components/-/@antv/x6-components-0.1.5.tgz"},"maintainers":[{"email":"afc163@gmail.com","name":"afc163"},{"email":"army8735@qq.com","name":"army8735"},{"email":"i@hust.cc","name":"atool"},{"email":"576375879@qq.com","name":"baizn"},{"email":"bubkoo.wy@gmail.com","name":"bubkoo"},{"email":"ccnuzindex@gmail.com","name":"ccnuzindex"},{"email":"dengfuping_develop@163.com","name":"dengfuping"},{"email":"418466938@qq.com","name":"dori"},{"email":"dxq613@gmail.com","name":"dxq613"},{"email":"yilin.qyl@antfin.com","name":"elaine.q.10"},{"email":"yuanjiefeng@gmail.com","name":"jeffy2012"},{"email":"wyy460342010@gmail.com","name":"kopiluwaky"},{"email":"leungwensen@gmail.com","name":"leungwensen"},{"email":"120635640@qq.com","name":"lzxue"},{"email":"neo.wang@vip.163.com","name":"neoddish"},{"email":"pyqiverson@gmail.com","name":"panyuqi"},{"email":"czynwu@gmail.com","name":"pomelo-nwu"},{"email":"360965398@qq.com","name":"sakuya223"},{"email":"sima.zhang1990@gmail.com","name":"simaq"},{"email":"yanyanwang93@gmail.com","name":"yanyan-wang"},{"email":"yezengyue@gmail.com","name":"zengyue"},{"email":"zqlu.cn@gmail.com","name":"zqlu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/x6-components_0.1.5_1576081448347_0.45095581063883206"},"_hasShrinkwrap":false,"readme":"# x6-components\n\n> React components for building x6 editors\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/antvis/x6/blob/master/LICENSE) \n[![Language](https://img.shields.io/badge/language-typescript-blue.svg?style=flat-square)](https://www.typescriptlang.org)\n\n[![NPM Package](https://img.shields.io/npm/v/@antv/x6-components.svg?style=flat-square)](https://www.npmjs.com/package/@antv/x6-components) \n[![NPM Downloads](http://img.shields.io/npm/dm/@antv/x6-components.svg?style=flat-square)](https://www.npmjs.com/package/@antv/x6-components) \n[![NPM Dependencies](https://img.shields.io/david/antvis/x6?path=packages%2Fx6-components&style=flat-square)](https://www.npmjs.com/package/@antv/x6-components)\n\n## Components\n\n- Menu\n- Dropdown\n- ContextMenu\n- Menubar\n- Toolbar\n- SplitBox\n- ScrollBox\n- AutoScrollBox\n- ColorPicker\n\n## Installation\n\n```shell\n# npm\n$ npm install @antv/x6-components --save\n\n# yarn\n$ yarn add @antv/x6-components\n```\n\n## Usage\n\nImport component and style:\n\n```ts\nimport { Menu } from '@antv/x6-components/es/menu'\n// less\nimport '@antv/x6-components/es/menu/style'\n// or css\nimport '@antv/x6-components/es/menu/style/index.css'\n```\n\nWe strongly recommend using [babel-plugin-import](https://github.com/ant-design/babel-plugin-import), which can convert the following code to the '@antv/x6-components/es/xxx' way:\n\n```ts\nimport { Menu } from '@antv/x6-components'\n```\n\nAnd this plugin will also load corresponding styles too. Via `.babelrc` or babel-loader:\n\n```js\n{\n  \"plugins\": [\n    [\n      \"import\",\n      {\n        \"libraryName\": \"@antv/x6-components\",\n        \"libraryDirectory\": \"es\", // es or lib\n        \"style\": true,\n        \"transformToDefaultImport\": true\n      }\n    ]\n  ]\n}\n```\n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/antvis/x6/issues/new).\n","publish_time":1576081448526,"_cnpm_publish_time":1576081448526,"dist-tags":{"latest":"0.10.7"}}