{"name":"@antv/g-mobile","version":"0.0.1-beta.11","keywords":["util","antv","g"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"ISC","_id":"@antv/g-mobile@0.0.1-beta.11","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":"97e5964e116035ab120c2b2f6627ebb0e7766744","tarball":"http://registry-npm.ywwl.com/@antv/g-mobile/download/@antv/g-mobile-0.0.1-beta.11.tgz","fileCount":263,"integrity":"sha512-OMJ1CU4GBPoFNB5c/B3iafxsJtb1fyf79JdFMYNCHlVvCnerULfcHIg0UTr2NKy3Wt+6pRhKm7VUPWpsfP0X8g==","signatures":[{"sig":"MEUCIQDPAhFeXq0SyUyF1xwVlBSHEcf1PhUFS/w9QaxQ4LFddgIgZif0QzH71TSHTIRLGbuZXkxYMWzKr7ggdRvgsMIiqMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1965565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZb20CRA9TVsSAnZWagAAqPsP/3wtB6xsreonSI7qsvHA\nhvkBJewQ3Q8K33lzpl3J32QV7q0ocoVjGVxFO483Qs3DSAALWW33emT998Ch\n4ZN1ITPwHgFYkpviJhF+3w5NbiQwMea93oJDxbc7La8Z5nQis4225fuDvUdD\nQQDM0eBnrz6hmLLfYwdTSU4uKkLVZ9atoBdvB5EbZCBrv4opbfzXeGwjvpfS\ncYDtfsqXNiQzdCiOIdIRlOeQMWF80v1NP3ZRVi4oQXtF2XIkegEbCYkl7BIv\non042djzh9YWnyK3/G6ofo4lwqanrsIZ8rqHKwOo3Hb5hfnFjlJseBH6/hFv\nWDctjPfwQvCcq3F8C/WKF9H80ynXw3suNRv8I5djgMHPik3y8bPsfOB454c8\n6h1ZGpy7Pt7jkxwcUpaZabfW6eyDpyLEKyz6QuaGOl9BtOwFD1QRSDoiJixa\n+WBtkkNss/twrUf/RSudgXsGyPgFAe5QLsrBTPMonfCb92gnIgKXWUG3B3mf\n7zy/bjTIq95scr3dWF3QXUwFF+q9/NBP1BPsdWw5eUxu4fkuj0UuAQQDTn2a\nypRuIkSzB/MOoGFAQLREEotBAYCaJY2ifsogrUaNlMm06lXXFjkJttWOoa3K\n9v38D9MNhzkkaVFLIuiLAwxN0iK6mgD2R9XERt0cx212A3ey+yeL8mD0Vwa8\nT5Z8\r\n=cb/7\r\n-----END PGP SIGNATURE-----\r\n","size":429454,"noattachment":false,"key":"/@antv/g-mobile/-/@antv/g-mobile-0.0.1-beta.11.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.11_1617280435455_0.701225112584805","host":"s3://npm-registry-packages"},"publish_time":1617280435669,"_cnpm_publish_time":1617280435669,"dist-tags":{"beta":"0.0.1-beta.18","latest":"1.1.5","next":"1.1.3-alpha.1"}}