mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 13:53:35 +00:00
feat: actually link expo and nx
This commit is contained in:
94
apps/mobile/project.json
Normal file
94
apps/mobile/project.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"name": "mobile",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "apps/mobile/src",
|
||||
"projectType": "application",
|
||||
"targets": {
|
||||
"start": {
|
||||
"executor": "@nx/expo:start",
|
||||
"dependsOn": ["ensure-symlink", "sync-deps"],
|
||||
"options": {
|
||||
"port": 8081
|
||||
}
|
||||
},
|
||||
"serve": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "nx start mobile"
|
||||
}
|
||||
},
|
||||
"run-ios": {
|
||||
"executor": "@nx/expo:run",
|
||||
"dependsOn": ["ensure-symlink", "sync-deps"],
|
||||
"options": {
|
||||
"platform": "ios"
|
||||
}
|
||||
},
|
||||
"run-android": {
|
||||
"executor": "@nx/expo:run",
|
||||
"dependsOn": ["ensure-symlink", "sync-deps"],
|
||||
"options": {
|
||||
"platform": "android"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"executor": "@nx/expo:build",
|
||||
"options": {}
|
||||
},
|
||||
"submit": {
|
||||
"executor": "@nx/expo:submit",
|
||||
"options": {}
|
||||
},
|
||||
"build-list": {
|
||||
"executor": "@nx/expo:build-list",
|
||||
"options": {}
|
||||
},
|
||||
"sync-deps": {
|
||||
"executor": "@nx/expo:sync-deps",
|
||||
"options": {}
|
||||
},
|
||||
"ensure-symlink": {
|
||||
"executor": "@nx/expo:ensure-symlink",
|
||||
"options": {}
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "@nx/expo:prebuild",
|
||||
"dependsOn": ["ensure-symlink", "sync-deps"],
|
||||
"options": {}
|
||||
},
|
||||
"install": {
|
||||
"executor": "@nx/expo:install",
|
||||
"options": {}
|
||||
},
|
||||
"update": {
|
||||
"executor": "@nx/expo:update",
|
||||
"options": {}
|
||||
},
|
||||
"export": {
|
||||
"executor": "@nx/expo:export",
|
||||
"dependsOn": ["ensure-symlink", "sync-deps"],
|
||||
"options": {
|
||||
"platform": "all",
|
||||
"outputDir": "../../dist/apps/mobile"
|
||||
}
|
||||
},
|
||||
"export-web": {
|
||||
"executor": "@nx/expo:export",
|
||||
"options": {
|
||||
"bundler": "metro"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": ["{options.outputFile}"]
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/mobile/jest.config.ts"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
Reference in New Issue
Block a user