-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 8.4 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 8.4 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "reactnativeignitekit",
"version": "1.0.0",
"private": true,
"scripts": {
"eas-build-pre-install": "node scripts/prepare-env-local.cjs",
"lefthook:install": "node scripts/lefthook-install.js",
"bootstrap": "yarn install && yarn start",
"setup:ruby": "bundle install",
"setup:maestro": "brew tap mobile-dev-inc/tap && brew install maestro",
"setup": "yarn install && yarn setup:ruby && yarn setup:maestro",
"start": "node scripts/start-metro.js",
"start:clean": "yarn watchman:reset && node scripts/start-metro.js",
"watchman:reset": "watchman shutdown-server 2>/dev/null || true; watchman watch-del-all 2>/dev/null || true",
"start:verbose": "react-native start --verbose",
"start:8082": "react-native start --port 8082",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"eslint": "eslint",
"test": "jest --watchAll=false",
"test:watch": "jest --watch",
"reset": "yarn node:clean && yarn android:clean && yarn start -- --reset-cache",
"node:clean": "watchman watch-del-all 2>/dev/null || true; rm -rf \"$TMPDIR/metro-*\" \"$TMPDIR/haste-map-*\" 2>/dev/null || true",
"android:clean": "rm -rf android/app/.cxx android/app/build android/build android/.gradle && cd android && ./gradlew clean || true",
"android:dev": "ENVFILE=.env.development yarn android:build:dev && yarn android:install:dev",
"android:build:dev": "cd android && ./gradlew assembleDevelopmentDebug",
"android:install:dev": "cd android && ./gradlew installDevelopmentDebug",
"android:dev:release": "cd android && ENVFILE=.env.development ./gradlew assembleDevelopmentRelease && ./gradlew installDevelopmentRelease",
"android:staging": "ENVFILE=.env.staging yarn android:build:staging && yarn android:install:staging",
"android:build:staging": "cd android && ./gradlew assembleStagingDebug",
"android:install:staging": "cd android && ./gradlew installStagingDebug",
"android:staging:release": "cd android && ENVFILE=.env.staging ./gradlew assembleStagingRelease && ./gradlew installStagingRelease",
"android:prod": "ENVFILE=.env.production yarn android:build:prod && yarn android:install:prod",
"android:build:prod": "cd android && ./gradlew assembleProductionDebug",
"android:install:prod": "cd android && ./gradlew installProductionDebug",
"android:prod:release": "cd android && ENVFILE=.env.production ./gradlew assembleProductionRelease && ./gradlew installProductionRelease",
"ios:clean": "cd ios && xcodebuild clean -workspace IgniteKit.xcworkspace -scheme IgniteKit",
"ios:bundle:assets": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios",
"ios:dev": "ENVFILE=.env.development react-native run-ios --scheme \"IgniteKit development\"",
"ios:dev:release": "yarn ios:clean && ENVFILE=.env.development react-native run-ios --scheme \"IgniteKit development\" --configuration Release",
"ios:staging": "ENVFILE=.env.staging react-native run-ios --scheme \"IgniteKit staging\"",
"ios:staging:release": "yarn ios:clean && ENVFILE=.env.staging react-native run-ios --scheme \"IgniteKit staging\" --configuration Release",
"ios:prod": "ENVFILE=.env.production react-native run-ios --scheme \"IgniteKit production\"",
"ios:prod:release": "yarn ios:clean && yarn ios:bundle:assets && ENVFILE=.env.production react-native run-ios --scheme \"IgniteKit production\" --configuration Release",
"eas": "eas",
"eas:help": "cat docs/EAS.md",
"eas:version": "node scripts/eas-version.js get",
"eas:version:check": "node scripts/eas-version.js check",
"eas:build:dev": "yarn eas:version:check && eas build --profile development --platform all",
"eas:build:dev:ios": "yarn eas:version:check && eas build --profile development --platform ios",
"eas:build:dev:android": "yarn eas:version:check && eas build --profile development --platform android",
"eas:build:staging": "yarn eas:version:check && eas build --profile staging --platform all",
"eas:build:staging:ios": "yarn eas:version:check && eas build --profile staging --platform ios",
"eas:build:staging:android": "yarn eas:version:check && eas build --profile staging --platform android",
"eas:build:prod": "yarn eas:version:check && eas build --profile production --platform all",
"eas:build:prod:ios": "yarn eas:version:check && eas build --profile production --platform ios",
"eas:build:prod:android": "yarn eas:version:check && eas build --profile production --platform android",
"eas:local:dev:ios": "eas build --profile development --local --platform ios",
"eas:local:dev:android": "eas build --profile development --local --platform android",
"eas:local:staging:ios": "eas build --profile staging --local --platform ios",
"eas:local:staging:android": "eas build --profile staging --local --platform android",
"eas:local:prod:ios": "eas build --profile production --local --platform ios",
"eas:local:prod:android": "eas build --profile production --local --platform android",
"eas:submit:dev": "eas submit --platform all --latest --profile development",
"eas:submit:dev:ios": "eas submit --platform ios --latest --profile development",
"eas:submit:dev:android": "node scripts/eas-submit-by-profile.js development",
"eas:submit:staging": "eas submit --platform all --latest --profile staging",
"eas:submit:staging:ios": "eas submit --platform ios --latest --profile staging",
"eas:submit:staging:android": "node scripts/eas-submit-by-profile.js staging",
"eas:submit:prod": "eas submit --platform all --latest --profile production",
"eas:submit:prod:ios": "eas submit --platform ios --latest --profile production",
"eas:submit:prod:android": "node scripts/eas-submit-by-profile.js production",
"eas:update:dev": "node scripts/eas-update.cjs development",
"eas:update:staging": "node scripts/eas-update.cjs staging",
"eas:update:prod": "node scripts/eas-update.cjs production",
"metadata:pull": "eas metadata:pull",
"metadata:push": "eas metadata:push",
"metadata:lint": "eas metadata:lint",
"screenshots:help": "cat docs/SCREENSHOTS.md",
"screenshots:1:build": "xcodebuild -workspace ios/IgniteKit.xcworkspace -scheme 'IgniteKit staging' -configuration Release -sdk iphonesimulator -derivedDataPath ios/simulator-build CODE_SIGNING_ALLOWED=NO | grep -E 'error:|Build succeeded|Build FAILED'",
"screenshots:2:capture": "bash scripts/capture-screenshots.sh",
"screenshots:3:upload:ios": "[ -f ./asc-api-key.json ] || (echo 'Error: asc-api-key.json not found. See docs/SCREENSHOTS.md.' && exit 1) && bundle exec fastlane run deliver api_key_path:./asc-api-key.json app_identifier:com.educatorslabs.ignitekit screenshots_path:./screenshots/ios skip_binary_upload:true skip_metadata:true overwrite_screenshots:true ignore_language_directory_validation:true force:true precheck_include_in_app_purchases:false",
"screenshots:3:upload:android": "bundle exec fastlane run supply --skip_upload_apk --skip_upload_aab --skip_upload_metadata --sync_image_upload true",
"screenshots:all": "yarn screenshots:1:build && yarn screenshots:2:capture && yarn screenshots:3:upload:ios"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^2.0.0",
"expo": "~51.0.0",
"expo-updates": "~0.25.28",
"react": "18.3.1",
"react-native": "0.75.4",
"react-native-config": "^1.5.3",
"react-native-fast-image": "^8.6.3",
"reactotron-react-native": "^5.1.9"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-private-methods": "^7.25.9",
"@babel/preset-env": "^7.20.0",
"@babel/preset-typescript": "^7.25.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.75.4",
"@react-native/eslint-config": "0.75.4",
"@react-native/metro-config": "0.75.4",
"@react-native/typescript-config": "0.75.4",
"@types/jest": "^29.5.14",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"babel-preset-expo": "~11.0.0",
"eas-cli": "^18.4.0",
"eslint": "^8.19.0",
"jest": "^29.7.0",
"lefthook": "^1.8.1",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "2.8.8",
"react-test-renderer": "18.3.1",
"ts-jest": "^29.2.5",
"typescript": "5.0.4"
},
"dependenciesMeta": {
"dtrace-provider": {
"built": false
},
"lefthook": {
"built": false
}
},
"engines": {
"node": ">=18"
}
}