Add QoL settings

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-10 15:17:57 +03:00
parent 49ff847fbf
commit 20641666ff
3 changed files with 5 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
{ {
"editor.tabSize": 2 "editor.tabSize": 2,
"java.configuration.updateBuildConfiguration": "automatic"
} }

View File

@@ -1,8 +1,4 @@
module.exports = { module.exports = {
presets: ['module:metro-react-native-babel-preset'], presets: ['module:metro-react-native-babel-preset'],
env: { plugins: ['react-native-paper/babel', 'react-native-reanimated/plugin'],
production: {
plugins: ['react-native-paper/babel', 'react-native-reanimated/plugin'],
},
},
}; };

View File

@@ -10,7 +10,8 @@
"test": "jest", "test": "jest",
"lint": "eslint .", "lint": "eslint .",
"all": "npm run build && npm run test && npm run lint", "all": "npm run build && npm run test && npm run lint",
"compile": "export $(cat .env | xargs) && cd android && ./gradlew assembleRelease && cd .." "compile": "export $(cat .env | xargs) && cd android && ./gradlew assembleRelease && cd ..",
"clean": "cd android && ./gradlew clean && cd .."
}, },
"dependencies": { "dependencies": {
"@react-native-async-storage/async-storage": "^1.19.0", "@react-native-async-storage/async-storage": "^1.19.0",