{"name":"@antv/g-mobile","version":"0.0.1-beta.12","keywords":["util","antv","g"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"ISC","_id":"@antv/g-mobile@0.0.1-beta.12","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":"dacfcf40dd36e5a5fd0a24730affd3040003e650","tarball":"http://registry-npm.ywwl.com/@antv/g-mobile/download/@antv/g-mobile-0.0.1-beta.12.tgz","fileCount":263,"integrity":"sha512-bhYkFK/LrfWVE0dWQIskJNQSpK5rN6I4XbyWui9gMEZ8VQHlniBAHvPjefUKWKxcrGrVBE7FsLe8d770D0uVrA==","signatures":[{"sig":"MEUCIEfdkp8GjRJ65x7833sp0ZvUS0VB9EubygPraQN7HgwyAiEAoSSlFri1hvyTBd+aZD+Xp0p1NBTHBOg+2onHSsBKzy8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1966259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbYRLCRA9TVsSAnZWagAAZisP/3OeslR6QOS6G2qemwpn\n0CZ8A7j0t+HgX9a5PDeFG51v+I//9oPvLrjWi5BJWyC1xgwxuXQxbJtduzhi\nr6pSLqaFsxrQr6Ie1A/Z5BMb50cSNwihz+K3GW8GkSCfJ+lrV2/gfrp2EHSH\nCES37IehA3jQ4yd+OCYeq1YX0pkDrUak6s+ZWwr1XDUY3YhYgyu/bhOnpvjQ\nZB18muyUiCakcvyoeuO/7nlWjRGwqJJQj8Ny/XVkPKL+Wo72PDCPr7cELBdC\nIPIG/d6YW2Uo2JtKr0scPf5YjSJpARewOssj7ChZhQGtOWVg5ZI4VBQWPxG2\nAQgUvqbUOU0jJKd4I/Owk27zbV5casDI+g+fYWLkCp+sMIfp0dtxTVIjXzQz\nNTebO6Gjch2GIkgOqxmeL9YNHjKInnm23Mqp1BTWnb18iVYxHxLnw3QhgwcN\nq4bZf21eg5TjKlp2pg4Gub30tA1OoKwV/wXeMX5SP73UGbG7ti/4VSogL1/H\nuXP0gvHjTROvoka4tjuNfL+UbAmWhEahLaX1DmS7xmE7aokVhuIR28EMfPhQ\nMMYb/S8joql6D64cOlRBoE5lC/SnXQv3RQxoMLrxGn5XBwJZ/v2H73R8bN5e\nhuZP8GAvaDfduTMEkuUwkpyX1h0Ol3/pRs7rbfuyaDmIA5ySo9ansW4tJ3aX\ndAqJ\r\n=1OMO\r\n-----END PGP SIGNATURE-----\r\n","size":429521,"noattachment":false,"key":"/@antv/g-mobile/-/@antv/g-mobile-0.0.1-beta.12.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.8","@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.12_1617790027078_0.6543817472146203","host":"s3://npm-registry-packages"},"publish_time":1617790027281,"_cnpm_publish_time":1617790027281,"dist-tags":{"beta":"0.0.1-beta.18","latest":"1.1.5","next":"1.1.3-alpha.1"}}