{"_id":"@angryraven/smarteat-ui","name":"@angryraven/smarteat-ui","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@angryraven/smarteat-ui","version":"1.0.0","description":"test","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","private":false,"scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn && yarn example pods"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/akanaew/smarteat-ui.git"},"author":{"name":"Канаев Андрей","email":"a.kanaev@internet.ru","url":"https://github.com/akanaew"},"license":"MIT","bugs":{"url":"https://github.com/akanaew/smarteat-ui/issues"},"homepage":"https://github.com/akanaew/smarteat-ui#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@arkweid/lefthook":"^0.7.7","@babel/eslint-parser":"^7.18.2","@commitlint/config-conventional":"^17.0.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.68.0","@typescript-eslint/parser":"^5.36.1","commitlint":"^17.0.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.2","react-native":"0.68.2","react-native-builder-bob":"^0.18.3","release-it":"^15.0.0","typescript":"^4.5.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"parser":"@typescript-eslint/parser","extends":["plugin:@typescript-eslint/recommended","@react-native-community","prettier"],"plugins":["@typescript-eslint"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{"eslint":"8.22.0","react-native-reanimated":"^2.10.0"},"gitHead":"a260788b896d061356abd6681ee6bc8b341b6b42","_id":"@angryraven/smarteat-ui@1.0.0","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-UwQ6nMf5VTC5uwXQhmCW2lbLE3Y/LH4G1Et521B2o5rEVnHukBZpxhAk+chNj1IJknB6jRPRgxS+mq3lfzR9iQ==","shasum":"2bb306944d05cf5fe4bbed8f9d8291da7984cd60","tarball":"https://registry.npmjs.org/@angryraven/smarteat-ui/-/smarteat-ui-1.0.0.tgz","fileCount":180,"unpackedSize":212863,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCKUlqA0tJv7BCSWwqzUu2Y1gM/0ZfDkRSgQ4X98hxngIgDUvMARW0suIyVqSHsZ3SI4/4imuXoFhERpvSMcKWQE0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFwkqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomehAAgkHsQr9uGVySBaz+vBmDbrxKMzWo0Tt2KrAC+ovgcw4KjHd1\r\nb3vgOcUf2RyNiSr5ohIk0A+ahWN0/Et0ClCxl9D9zh685Ru4/rDdGgm5LP/B\r\npTXozGWH/WtSWnhhvENpS8h101IAOX1rifyZjFOkebdLgo9tDK1ucZiE0BNQ\r\nPySKVJmAUlbSAKbJFQC5Ucd0v7GwMtKavCMrPqjWyl+moKF4UVcPjpjT6mB4\r\nTbCEIjaISuvUx/CA7IPXhdDIkWKp6r6BzErG4TSHmPHKqZy3ZRf03sqBA6y6\r\nQxVzROFdTCFBeWxaMzKRUFFiIgGdTHm5vXMmJfLPFZMicM3Vv88Erbu7v1aF\r\ndYEyUxaeNsq7uDf/TkG+3MaUUk1JfX8DwcI3F8t2OO4YwKWhCnF48mwxB1Td\r\nhtxOMjJe9SZWO5amyQ0VPRg2eHbRtifUhMe7pyyCada7AZXQlkKjQBTY8N0A\r\nO2meUw5Sa9uORKePF3lzSgb2nw/ugMBUYDRombUgA/abh2djBj0ChzZ8OvYs\r\npoVQTzVVesFowPMjVX06/f+Vggk03pX+KianVfV6iJSiol4wfwV2uV99bZE6\r\nGeajLz2XtMTp1+8Ybgb4iE9I3D9juCTHj5ZYJiYs5wzx9YyYb+C3aV1BpajH\r\nSXmPZWG3F3VFqHJVYZezJufOCJvmZeUr330=\r\n=wNw/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"angryraven","email":"angry.raven.studio@gmail.com"},"directories":{},"maintainers":[{"name":"angryraven","email":"angry.raven.studio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smarteat-ui_1.0.0_1662454057847_0.5195305045334644"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-06T08:47:37.744Z","1.0.0":"2022-09-06T08:47:38.043Z","modified":"2022-09-06T08:47:38.231Z"},"maintainers":[{"name":"angryraven","email":"angry.raven.studio@gmail.com"}],"description":"test","homepage":"https://github.com/akanaew/smarteat-ui#readme","keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/akanaew/smarteat-ui.git"},"author":{"name":"Канаев Андрей","email":"a.kanaev@internet.ru","url":"https://github.com/akanaew"},"bugs":{"url":"https://github.com/akanaew/smarteat-ui/issues"},"license":"MIT","readme":"# @smarteat/ui\nUiKit For smarteat\n## Installation\n\n```sh\nnpm install @smarteat/ui\n```\n\nor\n\n```sh\nyarn add @smarteat/ui react-native-reanimated\n```\n\nAdd Reanimated's babel plugin to your ``babel.config.js``:\n\n```js\nmodule.exports = {\n  // ...\n    plugins: [\n  // ...\n    'react-native-reanimated/plugin',\n]};\n```\n\n### Android\n\nTurn on Hermes engine by editing ``android/app/build.gradle``\n\n```\n\nproject.ext.react = [\n  enableHermes: true  // <- here | clean and rebuild if changing\n]\n\n```\n\nPlug Reanimated in ``MainApplication.java``\n\n```\n\nimport com.facebook.react.bridge.JSIModulePackage; // <- add\nimport com.swmansion.reanimated.ReanimatedJSIModulePackage; // <- add\n...\nprivate final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\n...\n\n    @Override\n    protected String getJSMainModuleName() {\n      return \"index\";\n    }\n\n    @Override\n    protected JSIModulePackage getJSIModulePackage() {\n      return new ReanimatedJSIModulePackage(); // <- add\n    }\n  };\n...\n```\n\n### iOS\n\nAs Reanimated is setup to configure and install automatically, the only thing you have to do is to run ``pod install`` in the ``ios/`` directory. Note that the auto-installation setup works for the standard React Native apps, if you have problems setting it up with a custom setup (e.g. brownfield) please start a new issue where we can find a way to guide you through that process.\n\n## Usage\n\n```js\nimport {Layout, Text, constants} from '@smarteat/ui';\n\n\nconst App = () => {\n  return (\n    <Layout jc='space-between' ai='center'>\n      <Text fontSize={24} color={constants.colors.GRAY_DARK}>Hello, world!</Text>\n    </Layout>\n  )\n};\n\n```\n\n\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","readmeFilename":"README.md"}