{"_id":"@carentogruppe/art","_rev":"1-29231403b44e5b43d441e58e3a1b3c5a","name":"@carentogruppe/art","dist-tags":{"latest":"1.2.0"},"versions":{"1.2.0":{"name":"@carentogruppe/art","version":"1.2.0","license":"MIT","private":false,"author":{"name":"@react-native-community"},"homepage":"https://github.com/carentogruppe/art#readme","description":"React Native module that allows you to draw vector graphics","main":"./lib/index.js","keywords":["react-native","react native","react-native-art","react-native-community","art"],"scripts":{"start":"node node_modules/react-native/local-cli/cli.js start","android":"react-native run-android --root example","ios":"react-native run-ios --project-path example/ios --scheme example","flow-check":"flow check","lint":"eslint . --cache","test":"jest"},"dependencies":{"art":"^0.10.3","invariant":"^2.2.4","prop-types":"^15.7.2"},"peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"@babel/core":"^7.4.5","@babel/runtime":"^7.4.5","@react-native-community/eslint-config":"^0.0.5","eslint":"^5.16.0","flow-bin":"^0.92.0","jest":"^24.8.0","metro-react-native-babel-preset":"^0.54.1","react":"16.8.3","react-native":"0.59.9"},"directories":{"doc":"docs","example":"example","lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/carentogruppe/art.git"},"bugs":{"url":"https://github.com/carentogruppe/art/issues"},"gitHead":"8f84285050da00f9dbc406a310f9e93e6a098d03","_id":"@carentogruppe/art@1.2.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-T2+7uEL+Tpp9thmtUTAzgnWLnWA6wLX612ehl7mcPiMLV1i4RJ3K+VOsHw2QmRI2BHmY8WjP7W8zL0XeF4qOdw==","shasum":"9b78edfda8785fa99bf19a48a7ef072d53469022","tarball":"https://registry.npmjs.org/@carentogruppe/art/-/art-1.2.0.tgz","fileCount":96,"unpackedSize":217620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2evnCRA9TVsSAnZWagAAnusP/3X6or6R6G5QehFcA7pj\n0Pg12RIpzIVeeoyekQ5qD1SybsT/vyQQ8TgT5qV5mVe1BGUuOp342hR5kaTM\nOTNSUK8rvBXV2SAXOUzFlx/MaeWx1HlCp0iXh8nbKiSsL4uGKUd41AFM+yzR\nvO9iUTVNVnyQRulF6/OK3/t4jfP4wgRFqv2oyou81lVWp8jcq65QfRUjBMfX\naF8bxseMTd8PsaJB3q428OKs7WU8xTSQscHNY+Wb5lPoj9VDO93oW24EnhCf\nDI6lzPS6qmTCEUfdcc2/EyqtMSXIUs8UyDrmTApMPVipxXfOVTaH46My/UWV\n3MXLq8n/2Ed4w53uMGhL1IyZ6Odlf9ZnxsCzDZqANw5ifCx+0MJfDM5sQzTl\nGwY4IyIdxtygQBi93v4O1bUsmr5pOGvWSxaMNEymGsumk5Kt2o+dBFkb6DB8\nz9l3z+ZEkMpczzs3y2zJ79/KLFNgk1n6r2kqAhSJRI4AJ7izT9Ja6kg9j9u/\nM889d0HjWNeSRcnc4uQDuIdxCMTJ8LWtCurYyPdjIAhSLFzp5VtCiQEsiypx\nJIHR1UiqH4qizoMb3UlGGSUDxUotcllChbx+fwukDV3Uybl8lGEjFv/iaXHp\nEUDSdTIsiJ/UFe4apLd+wZF57hMktCvpqFwHzVyu8eBVX0lL1AVwC5/IUUsH\nECUy\r\n=ANKZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb651HQddAd72EfHY9eCk8yk7rWS4EdA7GOmWA4yLtDAIgUFX/vqtzf6uK1USFo5O7ObF0nsi1YPNZOiQuy1BXUTM="}]},"_npmUser":{"name":"mstegmann-carento","email":"marcel.stegmann@carento.de"},"maintainers":[{"name":"mstegmann-carento","email":"marcel.stegmann@carento.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/art_1.2.0_1608117223106_0.605503426284141"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-16T11:13:42.941Z","1.2.0":"2020-12-16T11:13:43.240Z","modified":"2022-04-04T21:54:39.258Z"},"maintainers":[{"name":"mstegmann-carento","email":"marcel.stegmann@carento.de"}],"description":"React Native module that allows you to draw vector graphics","homepage":"https://github.com/carentogruppe/art#readme","keywords":["react-native","react native","react-native-art","react-native-community","art"],"repository":{"type":"git","url":"git+https://github.com/carentogruppe/art.git"},"author":{"name":"@react-native-community"},"bugs":{"url":"https://github.com/carentogruppe/art/issues"},"license":"MIT","readme":"# `@react-native-community/art`\n\n[![CircleCI][circle-ci-badge]][circle-ci]\n![MIT License][license-badge]\n[![PRs Welcome][pr-welcome-badge]][make-a-pr]\n![Supports Android and iOS][support-badge]\n[![Lean Core Badge][lean-core-badge]][lean-core-issue]\n\n> _NOTE: ART was extracted from core `react-native` as a part of \"[Lean Core](https://github.com/facebook/react-native/issues/23313)\" effort._\n\nReact Native module that allows you to draw vector graphics\n\n# Getting started\n\n## Installing module\n\n```sh\nyarn add @react-native-community/art\n```\n\nor\n\n```sh\nnpm install @react-native-community/art --save\n```\n\n## Linking module\n\n### Mostly automatic linking\n\nFor `react-native >= 0.60` ReactNativeART should be autolinked and no additional action is required.\n\nFor `react-native < 0.60` you need to link ReactNative ART:\n\n```js\nreact-native link @react-native-community/art\n```\n\n### Manual linking\n\n<details>\n<summary>Manually linking the library for iOS</summary>\n\n#### `Open project.xcodeproj in Xcode`\n\nDrag `RNCSlider.xcodeproj` to your project on Xcode (usually under the Libraries group on Xcode):\n![xcode-add](https://facebook.github.io/react-native/docs/assets/AddToLibraries.png)\n\n#### Link `libART.a` binary with libraries\n\nClick on your main project file (the one that represents the `.xcodeproj`) select `Build Phases` and drag the static library from the `Products` folder inside the Library you are importing to `Link Binary With Libraries` (or use the `+` sign and choose library from the list):\n\n![xcode-link](https://facebook.github.io/react-native/docs/assets/AddToBuildPhases.png)\n\n</details>\n\n<details>\n<summary>Manually linking the library for Android</summary>\n\n#### `android/settings.gradle`\n\n```groovy\ninclude ':react-native-art'\nproject(':react-native-art').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/art/android')\n```\n\n#### `android/app/build.gradle`\n\n```groovy\ndependencies {\n   ...\n   implementation project(':react-native-art')\n}\n```\n\n#### `android/app/src/main/.../MainApplication.java`\n\nOn top, where imports are:\n\n```java\nimport com.reactnativecommunity.art.ARTPackage;\n```\n\nAdd the `ARTPackage` class to your list of exported packages.\n\n```java\n@Override\nprotected List<ReactPackage> getPackages() {\n    return Arrays.asList(\n            new MainReactPackage(),\n            new ARTPackage()\n    );\n}\n```\n\n</details>\n\n# Migrating from the core `react-native` module\n\nTo migrate to this module you need to follow all the installation instructions above and change your imports from:\n\n```js\nimport {ART} from 'react-native';\nconst {Surface, Shape} = ART;\n```\n\nto:\n\n```js\nimport {Surface, Shape} from '@react-native-community/art';\n```\n\n# Documentation\n\nYou can find API reference [here](https://github.com/react-native-community/art/tree/master/docs/api.md).\n\n## Related\n\n- [react-native-svg](https://github.com/react-native-community/react-native-svg) - Render SVGs in any React project\n\n## License\n\nThe library is released under the MIT licence. For more information see `LICENSE`.\n\n[support-badge]:https://img.shields.io/badge/platforms-android%20|%20ios-lightgrey.svg?style=flat-square\n[make-a-pr]:http://makeapullrequest.com\n[pr-welcome-badge]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[license-badge]:https://img.shields.io/npm/l/@react-native-community/slider.svg?style=flat-square\n[circle-ci]:https://circleci.com/gh/react-native-community/art\n[circle-ci-badge]: https://img.shields.io/circleci/project/github/react-native-community/art/master.svg?style=flat-square\n[lean-core-badge]: https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square\n[lean-core-issue]: https://github.com/facebook/react-native/issues/23313\n","readmeFilename":"README.md"}