turbo.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "$schema": "https://turbo.build/schema.json",
  3. "globalDependencies": [
  4. ".nvmrc",
  5. ".yarnrc.yml"
  6. ],
  7. "globalEnv": [
  8. "NODE_ENV"
  9. ],
  10. "tasks": {
  11. "build:android": {
  12. "env": [
  13. "ANDROID_HOME",
  14. "ORG_GRADLE_PROJECT_newArchEnabled"
  15. ],
  16. "inputs": [
  17. "package.json",
  18. "android",
  19. "!android/build",
  20. "src/*.ts",
  21. "src/*.tsx",
  22. "example/package.json",
  23. "example/android",
  24. "!example/android/.gradle",
  25. "!example/android/build",
  26. "!example/android/app/build"
  27. ],
  28. "outputs": [
  29. ]
  30. },
  31. "build:ios": {
  32. "env": [
  33. "RCT_NEW_ARCH_ENABLED",
  34. "RCT_REMOVE_LEGACY_ARCH",
  35. "RCT_USE_RN_DEP",
  36. "RCT_USE_PREBUILT_RNCORE"
  37. ],
  38. "inputs": [
  39. "package.json",
  40. "*.podspec",
  41. "ios",
  42. "src/*.ts",
  43. "src/*.tsx",
  44. "example/package.json",
  45. "example/ios",
  46. "!example/ios/build",
  47. "!example/ios/Pods"
  48. ],
  49. "outputs": [
  50. ]
  51. }
  52. }
  53. }