diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 40bf5a6..02489f4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ We're so excited you're interested in helping with SuperTokens! We are happy to ## Development Setup ### Prerequisites -- Nodejs & npm +- **Node.js v16.x** & npm - IDE: [VSCode](https://code.visualstudio.com/download)(recommended) or equivalent IDE ### Project Setup @@ -55,11 +55,12 @@ We're so excited you're interested in helping with SuperTokens! We are happy to cp -r ./test/tough-cookie ./node_modules/ npm i git+https://github.com:/supertokens-react-native.git ``` -5. Navigate to `supertokens-react-native/TestingApp` and run all tests +5. Add a static entry for `127.0.0.1 localhost.org` in your `/etc/hosts` file +6. Navigate to `supertokens-react-native/TestingApp` and run all tests ``` INSTALL_PATH=../../supertokens-root npm test ``` -6. If all tests pass the output should be: +7. If all tests pass the output should be: React Native tests passing diff --git a/TestingApp/.eslintrc.js b/TestingApp/.eslintrc.js deleted file mode 100644 index 40c6dcd..0000000 --- a/TestingApp/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: '@react-native-community', -}; diff --git a/TestingApp/.prettierrc.js b/TestingApp/.prettierrc.js deleted file mode 100644 index 84196d9..0000000 --- a/TestingApp/.prettierrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - bracketSpacing: false, - jsxBracketSameLine: true, - singleQuote: true, - trailingComma: 'all', - arrowParens: 'avoid', -}; diff --git a/examples/with-thirdparty/babel.config.js b/examples/with-thirdparty/babel.config.js index 2900afe..2b73c1b 100644 --- a/examples/with-thirdparty/babel.config.js +++ b/examples/with-thirdparty/babel.config.js @@ -1,6 +1,6 @@ module.exports = function(api) { - api.cache(true); - return { - presets: ['babel-preset-expo'], - }; + api.cache(true); + return { + presets: ["babel-preset-expo"] + }; };