mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"name": "react-native-nitro-example",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"clean": "del-cli android/build node_modules/**/android/build lib",
|
|
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
"start": "react-native start",
|
|
"pods": "cd ios && pod install && rm -rf .xcode.env.local",
|
|
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
|
|
"build:ios": "cd ios && xcodebuild -workspace NitroExample.xcworkspace -scheme NitroExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
|
|
},
|
|
"dependencies": {
|
|
"react": "18.2.0",
|
|
"react-native": "0.74.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/preset-env": "^7.20.0",
|
|
"@babel/runtime": "^7.20.0",
|
|
"@react-native/babel-preset": "0.74.84",
|
|
"@react-native/metro-config": "0.74.84",
|
|
"@react-native/typescript-config": "0.74.84",
|
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
"del-cli": "^5.1.0",
|
|
"nitro-codegen": "workspace:^",
|
|
"react-native-nitro-image": "workspace:^",
|
|
"react-native-nitro-modules": "workspace:^",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|