-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
41 lines (41 loc) · 1.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "chatgpt-mobile",
"version": "1.0.3",
"license": "MIT",
"main": "node_modules/expo/AppEntry.js",
"repository": {
"type": "git",
"url": "https://github.com/nezort11/chatgpt-mobile.git"
},
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"build": "eas build --platform=android --profile=production --non-interactive | tee $(mkdir -p ./dist && echo ./dist/build-output.txt)",
"download": "if [ -f ./dist/build-output.txt ]; then curl -LJ -o ./dist/chatgpt-$(grep -o '\"version\": \"[^\"]*\"' app.json | cut -d'\"' -f4)-$(date +%Y-%m-%d).apk $(echo $(grep 'https://expo.dev/artifacts/eas/[a-zA-Z0-9]*\\.[a-zA-Z]*' ./dist/build-output.txt)) ; else echo 'Please run `yarn build` first' ; fi",
"publish:github": "if [ -f ./dist/chatgpt-$(grep -o '\"version\": \"[^\"]*\"' app.json | cut -d'\"' -f4)-$(date +%Y-%m-%d).apk ]; then gh-release create --assets ./dist/chatgpt-$(grep -o '\"version\": \"[^\"]*\"' app.json | cut -d'\"' -f4)-$(date +%Y-%m-%d).apk ; else echo 'Please run `yarn download` first' ; fi"
},
"dependencies": {
"@types/lodash": "^4.14.191",
"expo": "~47.0.9",
"expo-constants": "^14.0.2",
"expo-navigation-bar": "~2.0.1",
"expo-splash-screen": "~0.17.5",
"expo-status-bar": "~1.4.2",
"expo-system-ui": "~2.0.1",
"lodash": "^4.17.21",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.5",
"react-native-web": "~0.18.9",
"react-native-webview": "^11.26.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~18.0.14",
"@types/react-native": "~0.70.6",
"gh-release": "^7.0.2",
"typescript": "^4.6.3"
}
}