Skip to content

Instantly share code, notes, and snippets.

@jonsamp
Last active February 4, 2022 05:01
Show Gist options
  • Save jonsamp/f9bcdd5eed7e9fe4482074bcaa2407a4 to your computer and use it in GitHub Desktop.
Save jonsamp/f9bcdd5eed7e9fe4482074bcaa2407a4 to your computer and use it in GitHub Desktop.
{
"version": "2.0.0",
"tasks": [
{
"label": "test file",
"type": "shell",
"command": "yarn test --watch ${relativeFile}",
"group": "test",
"presentation": {
"echo": true,
"focus": false,
"panel": "dedicated"
}
},
{
"label": "lint",
"type": "shell",
"command": "yarn lint --fix",
"problemMatcher": "$eslint-stylish",
"presentation": {
"echo": true,
"focus": true,
"panel": "dedicated"
}
},
{
"label": "test",
"type": "shell",
"command": "yarn test",
"presentation": {
"echo": true,
"focus": true,
"panel": "dedicated"
}
},
{
"label": "tsc",
"type": "shell",
"command": "yarn tsc",
"problemMatcher": "$tsc",
"presentation": {
"echo": true,
"focus": true,
"panel": "dedicated"
}
},
{
"label": "e2e",
"type": "shell",
"command": "cd ~/dev/expo/universe/server/e2e && yarn e2e:local",
"problemMatcher": "$tsc",
"presentation": {
"echo": true,
"focus": true,
"panel": "dedicated"
}
},
{
"label": "verify",
"dependsOn": ["lint", "tsc", "test"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment