{"name":"@antv/g-mobile","version":"0.0.1-beta.15","keywords":["util","antv","g"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"ISC","_id":"@antv/g-mobile@0.0.1-beta.15","maintainers":[{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"mxz96102","email":"mxz96102@qq.com"},{"name":"bbsqq","email":"1491812683@qq.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"sakuya223","email":"360965398@qq.com"},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":"i@hust.cc"},{"name":"baizn","email":"576375879@qq.com"},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"neoddish","email":"neoddish@outlook.com"},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"zqlu","email":"zqlu.cn@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"pomelo-nwu","email":"czynwu@gmail.com"},{"name":"kopiluwaky","email":"yanyanwang93@gmail.com"},{"name":"ccnuzindex","email":"ccnuzindex@gmail.com"},{"name":"panyuqi","email":"pyqiverson@gmail.com"},{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},{"name":"zengyue","email":"yezengyue@gmail.com"},{"name":"kasmine","email":"xinming002@gmail.com"},{"name":"wufenfen92","email":"747042796@qq.com"},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"l1ud0ngq1","email":"lliudongqi@gmail.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"winniexing","email":"wanyingxing@gmail.com"},{"name":"chenluli","email":"chenluuli@gmail.com"},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"xdddst","email":"deng25st@163.com"},{"name":"semious2020","email":"semious@163.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"nadia_liu","email":"1803275951@qq.com"}],"homepage":"https://github.com/antvis/g#readme","bugs":{"url":"https://github.com/antvis/g/issues"},"dist":{"shasum":"1144ac454d956464f105774d89111a0c8331d169","tarball":"http://registry-npm.ywwl.com/@antv/g-mobile/download/@antv/g-mobile-0.0.1-beta.15.tgz","fileCount":263,"integrity":"sha512-0Yv4JCSRP91eZ+Mlvkos0j1MgMJfQWAQQ8S1oeDXLiFeEFMqglBCTe3L9wL3ElDnIHAC7xoldQgA/i8835RsxA==","signatures":[{"sig":"MEQCIB2w4LCmJlGkSW2elHAGYG7AhuKRp7eNCWdCeoP3heRGAiBwY+ymy8LhMDWv5whN78EAPNcYd36aMsTVh9ZkEnVbzQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1965193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdDb+CRA9TVsSAnZWagAAw+oP/iCrLt6sjsBsP8o8HqSP\nKSQQWa1nv89kNZePfom7iakRVQsnr5bDBXXWNLGbsjVunhUpdmh/gSKe7MGe\npDRl2qwqAckqE39HJRU4vKadQrQVW268b6S7SNbdoZM08iWdJw2PiQJHjhef\naOQvpS9LE4VqaC9Er5CUnElPwGtnTCS9/BukExng438VOyKr07ryiU7pGPmq\n3884U5EU6GsIM37V+2Gzkb53IBRBnpmqgIHLGi8wOKSGN9A4dDVrSL6YreV0\nr08d84pcTXNlIq5z7W4ITAXo+ozB0fa0yZqSD8t7AKRCWtJgDPpLzD59mPtu\nt4jd0zkdj38PqiwQnBYS7mnSmWPDujgZcey5SqOkGvsreO249dWavg2OckFP\nvlSkagfxaUJE5wciwhDjSaD59uOOJ+6O2H6iQnkviVDbO9sXnOU8uN7Gj1HE\nYtiZi1I7xumtcf6T4H5NOc8ootqxxccXutouDIJhYsZe8Dn1R+1fBeXKbRuF\nlHHSSZr2sfAHHsM7H9K1trmkoCH5CGQC7VpD7xymjimh+MbI61YyqwNphWTa\np4lxl/Qhdntd/Ry8GS5FBLLU1xEDQe8Xv63m48uyFTERhrCQX8Js2OY27GDe\n4PYBWLh47eYjGzmQgzcQ/wME83NqScil3ETngolo99w+ikUprmDrRFzyfwY0\nHdS7\r\n=8nUf\r\n-----END PGP SIGNATURE-----\r\n","size":429189,"noattachment":false,"key":"/@antv/g-mobile/-/@antv/g-mobile-0.0.1-beta.15.tgz"},"main":"lib/index.js","types":"lib/index.d.ts","unpkg":"dist/g.min.js","module":"esm/index.js","readme":"English | [简体中文](./README-zh_CN.md)\n\n# g-mobile\n\n[![](https://img.shields.io/travis/antvis/g.svg)](https://travis-ci.org/antvis/g)\n![](https://img.shields.io/badge/language-javascript-red.svg)\n![](https://img.shields.io/badge/license-MIT-000000.svg)\n\n[![npm package](https://img.shields.io/npm/v/@antv/g-canvas.svg)](https://www.npmjs.com/package/@antv/g-mobile)\n[![npm downloads](http://img.shields.io/npm/dm/@antv/g-canvas.svg)](https://npmjs.org/package/@antv/g-mobile)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/antvis/g.svg)](http://isitmaintained.com/project/antvis/g 'Percentage of issues still open')\n\n- A canvas library which providing 2d draw for AntV.\n\n## ✨ Features\n\n- Powerful and scalable rendering capability with built-in basic Graphics.\n- Excellent rendering performance and supports visualization scenarios with large amounts of data.\n- Complete simulation of mobile/browser DOM events, and no difference from native events.\n- Smooth animation implementation and rich configuration interfaces.\n\n## 📦 Install\n\n```bash\n$ npm install @antv/g-mobile --save\n```\n\n## 🔨 Usage\n\n```html\n<div id=\"c1\"></div>\n```\n\n```js\nimport { Canvas } from '@antv/g-mobile';\n\nconst canvas = new Canvas({\n  container: 'c1',\n  width: 500,\n  height: 500,\n});\n\nconst group = canvas.addGroup();\ngroup.addShape('circle', {\n  attrs: {\n    x: 100,\n    y: 100,\n    r: 50,\n    fill: 'red',\n    stroke: 'blue',\n    lineWidth: 5,\n  },\n});\n```\n","scripts":{"tsc":"tsc --noEmit","dist":"webpack --config webpack.config.js --mode production","test":"torch --renderer --compile --opts tests/mocha.opts","build":"npm run clean && run-p build:*","clean":"rm -rf esm lib dist","coverage":"npm run coverage-generator && npm run coverage-viewer","build:cjs":"tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib","build:esm":"tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm","build:umd":"webpack --config webpack.config.js --mode production","test-live":"torch --compile --interactive tests/unit","typecheck":"tsc --noEmit","coverage-viewer":"torch-coverage","coverage-generator":"torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts"},"_npmUser":{"name":"openwayne","email":"openwayne@gmail.com"},"repository":{"url":"git+https://github.com/antvis/g.git","type":"git"},"_npmVersion":"7.6.3","description":"A mobile canvas library which providing 2d","directories":{},"_nodeVersion":"14.14.0","dependencies":{"tslib":"^2.0.3","gl-matrix":"^3.0.0","@antv/util":"~2.0.0","ansi-styles":"^5.0.0","g6-hammerjs":"^0.0.9","@antv/g-base":"^0.5.6-beta.1","@antv/g-math":"^0.1.6","supports-color":"^8.1.0","@antv/path-util":"~2.0.5","@antv/matrix-util":"^3.1.0-beta.1","escape-string-regexp":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"less":"^4.1.1","webpack":"^4.39.3","read-pkg":"^5.2.0","typescript":"^4.1.3","@antv/torch":"^1.0.0","npm-run-all":"^4.1.5","shell-quote":"^1.7.2","webpack-cli":"^4.5.0","brace-expansion":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/g-mobile_0.0.1-beta.15_1618228989328_0.17559494502646888","host":"s3://npm-registry-packages"},"publish_time":1618228989624,"_cnpm_publish_time":1618228989624,"dist-tags":{"beta":"0.0.1-beta.18","latest":"1.1.5","next":"1.1.3-alpha.1"}}