77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
{
|
|
"name": "Expo EAS Android Build",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "expo-android",
|
|
"workspaceFolder": "/workspace",
|
|
"shutdownAction": "stopCompose",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/git:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.vscode-typescript-next",
|
|
"expo.vscode-expo-tools",
|
|
"ms-vscode.vscode-json",
|
|
"esbenp.prettier-vscode",
|
|
"dbaeumer.vscode-eslint",
|
|
"ms-vscode.vscode-eslint"
|
|
],
|
|
"settings": {
|
|
"typescript.preferences.importModuleSpecifier": "relative",
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"eslint.workingDirectories": ["."],
|
|
"files.exclude": {
|
|
"**/node_modules": true,
|
|
"**/.git": true,
|
|
"**/.DS_Store": true,
|
|
"**/Thumbs.db": true
|
|
}
|
|
}
|
|
},
|
|
"jetbrains": {
|
|
"ide": "WebStorm",
|
|
"plugins": [
|
|
"NodeJS",
|
|
"TypeScript",
|
|
"JavaScript",
|
|
"Docker",
|
|
"Git"
|
|
],
|
|
"settings": {
|
|
"nodejs.package_manager": "npm",
|
|
"typescript.compiler.module": "commonjs",
|
|
"editor.format.on.save": true,
|
|
"editor.code.inspection.on.the.fly": true,
|
|
"javascript.nodejs.core.library.use.typings": true
|
|
}
|
|
}
|
|
},
|
|
"forwardPorts": [8081, 19000, 19001, 19002],
|
|
"portsAttributes": {
|
|
"8081": {
|
|
"label": "Metro Bundler",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"19000": {
|
|
"label": "Expo Dev Server",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"19001": {
|
|
"label": "Expo Dev Server (HTTPS)",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"19002": {
|
|
"label": "Expo Dev Server (Alternate)",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "npm install",
|
|
"remoteUser": "root",
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
|
]
|
|
}
|