-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use composite project to build example project
- Loading branch information
xiaoweii
committed
Apr 3, 2024
1 parent
ac5ecb1
commit c454083
Showing
4 changed files
with
65 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"name": "clickstream-react-native-example", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"android": "react-native run-android", | ||
"ios": "react-native run-ios", | ||
"start": "react-native start", | ||
"build:android": "cd android && ./gradlew assembleDebug", | ||
"build:ios": "cd ios && xcodebuild -workspace ClickstreamReactNativeExample.xcworkspace -scheme ClickstreamReactNativeExample -sdk iphonesimulator -configuration Release -destination generic/platform=iOS CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO clean archive | xcpretty" | ||
}, | ||
"dependencies": { | ||
"react": "18.2.0", | ||
"react-native": "0.73.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.20.0", | ||
"@babel/preset-env": "^7.20.0", | ||
"@babel/runtime": "^7.20.0", | ||
"@react-native/babel-preset": "0.73.21", | ||
"@react-native/metro-config": "0.73.5", | ||
"@react-native/typescript-config": "0.73.1", | ||
"babel-plugin-module-resolver": "^5.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
"name": "clickstream-react-native-example", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"android": "react-native run-android", | ||
"ios": "react-native run-ios", | ||
"start": "react-native start", | ||
"build:android": "cd android && ./gradlew assembleDebug", | ||
"build:ios": "cd ios && xcodebuild -workspace ClickstreamReactNativeExample.xcworkspace -scheme ClickstreamReactNativeExample -sdk iphonesimulator -configuration Release -destination generic/platform=iOS CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO clean archive | xcpretty" | ||
}, | ||
"dependencies": { | ||
"react": "18.2.0", | ||
"react-native": "0.73.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.20.0", | ||
"@babel/preset-env": "^7.20.0", | ||
"@babel/runtime": "^7.20.0", | ||
"@react-native/babel-preset": "0.73.21", | ||
"@react-native/metro-config": "0.73.5", | ||
"@react-native/typescript-config": "0.73.1", | ||
"babel-plugin-module-resolver": "^5.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,36 @@ | ||
{ | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"paths": { | ||
"@aws/clickstream-react-native": [ | ||
"./src/index" | ||
] | ||
}, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"esModuleInterop": true, | ||
"noImplicitAny": true, | ||
"downlevelIteration": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"jsx": "react", | ||
"lib": [ | ||
"es2020" | ||
], | ||
"moduleResolution": "node", | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noImplicitUseStrict": false, | ||
"noStrictGenericChecks": false, | ||
"noUncheckedIndexedAccess": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"importHelpers": true, | ||
"noEmitOnError": false, | ||
"declaration": true, | ||
"strict": true, | ||
"target": "es2020", | ||
"outDir": "lib" | ||
}, | ||
"exclude": [ | ||
"example" | ||
] | ||
"compilerOptions": { | ||
"rootDir": ".", | ||
"paths": { | ||
"@aws/clickstream-react-native": [ | ||
"./src/index" | ||
] | ||
}, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"esModuleInterop": true, | ||
"noImplicitAny": true, | ||
"downlevelIteration": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"jsx": "react", | ||
"lib": [ | ||
"es2020" | ||
], | ||
"moduleResolution": "node", | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noImplicitUseStrict": false, | ||
"noStrictGenericChecks": false, | ||
"noUncheckedIndexedAccess": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"importHelpers": true, | ||
"noEmitOnError": false, | ||
"declaration": true, | ||
"strict": true, | ||
"target": "es2020", | ||
"outDir": "lib" | ||
} | ||
} |