Skip to content

Instantly share code, notes, and snippets.

@jaysoo
Created November 13, 2020 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaysoo/d8915a9290aad62dc687ac86cb56514a to your computer and use it in GitHub Desktop.
Save jaysoo/d8915a9290aad62dc687ac86cb56514a to your computer and use it in GitHub Desktop.
{
"version": 1,
"projects": {
...
"my-native-app": {
"root": "apps/my-native-app",
"sourceRoot": "apps/my-native-app/src",
"projectType": "application",
"schematics": {},
"architect": {
"start": {
"builder": "@nrwl/react-native:start",
"options": {
"port": 8081
}
},
"run-ios": {
"builder": "@nrwl/react-native:run-ios",
"options": {}
},
"bundle-ios": {
"builder": "@nrwl/react-native:bundle",
"outputs": ["apps/my-native-app/build"],
"options": {
"entryFile": "apps/my-native-app/index.js",
"platform": "ios",
"bundleOutput": "dist/apps/my-native-app/ios/index.bundle"
}
},
"run-android": {
"builder": "@nrwl/react-native:run-android",
"options": {}
},
"build-android": {
"builder": "@nrwl/react-native:build-android",
"outputs": [
"apps/my-native-app/android/app/build/outputs/bundle",
"apps/my-native-app/android/app/build/outputs/apk"
],
"options": {}
},
"bundle-android": {
"builder": "@nrwl/react-native:bundle",
"options": {
"entryFile": "apps/my-native-app/index.js",
"platform": "android",
"bundleOutput": "dist/apps/my-native-app/android/index.bundle"
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/my-native-app/**/*.{js,ts,tsx}"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/my-native-app/jest.config.js",
"passWithNoTests": true
}
}
}
},
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment