generated from salesforce/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 3.3 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 3.3 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
{
"name": "ReactAgentforce",
"version": "1.0.0",
"private": true,
"description": "Lightweight Agentforce Service Agent Sample for React Native",
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "node scripts/generate-app-config.js service && react-native run-ios --scheme ServiceAgent --target ServiceAgent",
"test": "jest",
"build:force": "node scripts/build-react-native-force.js",
"install:ios": "node installios.js",
"install:android": "node installandroid.js",
"android:service": "node scripts/generate-app-config.js service && react-native run-android --mode=serviceAgentDebug --appId=com.salesforce.android.reactagentforce.service",
"android:employee": "node scripts/generate-app-config.js employee && react-native run-android --mode=employeeAgentDebug --appId=com.salesforce.android.reactagentforce.employee",
"ios:service": "node scripts/generate-app-config.js service && react-native run-ios --scheme ServiceAgent --target ServiceAgent",
"ios:employee": "node scripts/generate-app-config.js employee && react-native run-ios --scheme EmployeeAgent --target EmployeeAgent",
"build:android:service": "node scripts/generate-app-config.js service && cd android && ./gradlew :app:assembleServiceAgentRelease",
"build:android:employee": "node scripts/generate-app-config.js employee && cd android && ./gradlew :app:assembleEmployeeAgentRelease",
"build:ios:service": "node scripts/generate-app-config.js service && xcodebuild -workspace ios/ReactAgentforce.xcworkspace -scheme ServiceAgent -configuration Release",
"build:ios:employee": "node scripts/generate-app-config.js employee && xcodebuild -workspace ios/ReactAgentforce.xcworkspace -scheme EmployeeAgent -configuration Release",
"generate:xcode": "cd ios && xcodegen generate",
"install:pods": "cd ios && pod install",
"postinstall": "patch-package && node scripts/generate-app-config.js service"
},
"dependencies": {
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.26",
"react": "18.2.0",
"react-native": "0.74.7",
"react-native-agentforce": "file:./AgentforceSDK-ReactNative-Bridge",
"react-native-force": "github:forcedotcom/SalesforceMobileSDK-ReactNative#v13.1.1",
"react-native-gesture-handler": "~2.16.2",
"react-native-safe-area-context": "^4.10.8",
"react-native-screens": "^3.30.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native-community/cli-platform-ios": "^20.0.2",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/babel-preset": "0.74.89",
"@react-native/eslint-config": "0.74.89",
"@react-native/metro-config": "0.74.89",
"@react-native/typescript-config": "0.74.89",
"@types/jest": "^29.5.10",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"metro-react-native-babel-preset": "0.77.0",
"patch-package": "^8.0.0",
"prettier": "2.8.8",
"react-test-renderer": "18.2.0",
"rimraf": "5.0.5",
"typescript": "5.0.4"
},
"overrides": {
"react-native-force": {
"react-native": "0.74.7"
}
},
"engines": {
"node": ">=18"
}
}