From 20641666ff0fd5b99246cad3fbc987dbc102798f Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Mon, 10 Jul 2023 15:17:57 +0300 Subject: [PATCH] Add QoL settings Signed-off-by: Nikolaos Karaolidis --- .vscode/settings.json | 3 ++- babel.config.js | 6 +----- package.json | 3 ++- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 78664b2..2214d0c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "editor.tabSize": 2 + "editor.tabSize": 2, + "java.configuration.updateBuildConfiguration": "automatic" } diff --git a/babel.config.js b/babel.config.js index 4f504d4..97ad66b 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,8 +1,4 @@ module.exports = { presets: ['module:metro-react-native-babel-preset'], - env: { - production: { - plugins: ['react-native-paper/babel', 'react-native-reanimated/plugin'], - }, - }, + plugins: ['react-native-paper/babel', 'react-native-reanimated/plugin'], }; diff --git a/package.json b/package.json index 99e4328..b2a872b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "test": "jest", "lint": "eslint .", "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": { "@react-native-async-storage/async-storage": "^1.19.0",