diff --git a/.babelrc b/.babelrc new file mode 100644 index 00000000..8df53fe4 --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ +"presets": ["react-native"] +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..62f5fc49 --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ +# OSX +# +.DS_Store + +# Xcode +!**/*.xcodeproj +!**/*.pbxproj +!**/*.xcworkspacedata +!**/*.xcsettings +!**/*.xcscheme +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata +*.xccheckout +*.moved-aside +DerivedData +*.hmap +*.ipa +*.xcuserstate +project.xcworkspace + +# Android/IJ +# +/build/ +.idea +.gradle +local.properties + +# node.js +# +node_modules/ +npm-debug.log +yarn.lock +yarn-error.log + +# others +# +.buckconfig +.flowconfig +.gitattributes +.watchmanconfig diff --git a/.npmignore b/.npmignore index 65d7ff64..caa1e078 100644 --- a/.npmignore +++ b/.npmignore @@ -3,8 +3,11 @@ .DS_Store # Xcode -# -build/ +!**/*.xcodeproj +!**/*.pbxproj +!**/*.xcworkspacedata +!**/*.xcsettings +!**/*.xcscheme *.pbxuser !default.pbxuser *.mode1v3 @@ -24,6 +27,7 @@ project.xcworkspace # Android/IJ # +/build/ .idea .gradle local.properties @@ -34,11 +38,9 @@ node_modules/ npm-debug.log yarn.lock yarn-error.log -app.json # others # -.babelrc .buckconfig .flowconfig .gitattributes diff --git a/example/.babelrc b/example/.babelrc new file mode 100644 index 00000000..8df53fe4 --- /dev/null +++ b/example/.babelrc @@ -0,0 +1,3 @@ +{ +"presets": ["react-native"] +} \ No newline at end of file