mirror of
https://github.com/mudabbir-ahmad/Media-Aggregation-and-Sorting-System.git
synced 2026-10-07 19:40:20 +00:00
feat: update environment configuration and scripts; add .npmrc, modify .nvmrc, and enhance package.json for development
This commit is contained in:
1 parent
f855dab467
commit
882571d53b
5 files changed
+26
-8
No files matched your search
@@ -46,11 +46,18 @@ The method of obtaining the Google photos picker's api key is via:
|
||||
- click save
|
||||
|
||||
## Running the Project
|
||||
Node requirement: `>=20.19.4`.
|
||||
|
||||
Useful scripts:
|
||||
```bash
|
||||
npx expo run:android
|
||||
npm run start
|
||||
npm run android
|
||||
npm run ios
|
||||
npm run web
|
||||
```
|
||||
|
||||
These scripts set `NODE_ENV` automatically so Expo can load the correct mode during bundling.
|
||||
|
||||
|
||||
### NAS backend
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal",
|
||||
"env": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"android": {
|
||||
"buildType": "apk"
|
||||
}
|
||||
|
||||
+11
-6
@@ -3,10 +3,11 @@
|
||||
"version": "1.0.0",
|
||||
"main": "App.js",
|
||||
"scripts": {
|
||||
"start": "npx expo start",
|
||||
"android": "npx expo run:android",
|
||||
"ios": "npx expo run:ios",
|
||||
"web": "npx expo start --web",
|
||||
"start": "NODE_ENV=development npx expo start",
|
||||
"android": "NODE_ENV=development npx expo run:android",
|
||||
"ios": "NODE_ENV=development npx expo run:ios",
|
||||
"web": "NODE_ENV=development npx expo start --web",
|
||||
"export": "NODE_ENV=production npx expo export",
|
||||
"backend": "node ServerFiles/server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -25,7 +26,7 @@
|
||||
"expo-secure-store": "~55.0.13",
|
||||
"expo-sqlite": "~55.0.15",
|
||||
"expo-status-bar": "~55.0.5",
|
||||
"expo-system-ui": "^55.0.15",
|
||||
"expo-system-ui": "~55.0.15",
|
||||
"expo-web-browser": "~55.0.14",
|
||||
"fuse.js": "^7.1.0",
|
||||
"react": "19.2.0",
|
||||
@@ -40,7 +41,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.29.0",
|
||||
"babel-preset-expo": "~55.0.17"
|
||||
"babel-preset-expo": "~55.0.17",
|
||||
"yarn": "^1.22.22"
|
||||
},
|
||||
"overrides": {
|
||||
"jscodeshift": "0.16.1",
|
||||
@@ -51,5 +53,8 @@
|
||||
"glob": "^13.0.6",
|
||||
"rimraf": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
Reference in new issue
Block a user