Created
August 27, 2021 09:14
-
-
Save michaldudak/50dd5f78d0cdba4f2b3c763b34bf8fa9 to your computer and use it in GitHub Desktop.
MUI tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Run docs", | |
"type": "shell", | |
"command": "yarn start", | |
"problemMatcher": "$tsc", | |
"presentation": { | |
"reveal": "always", | |
"panel": "shared", | |
"showReuseMessage": false | |
}, | |
"options": { | |
"statusbar": { | |
"label": "$(rocket)", | |
"tooltip": "Run docs", | |
"color": "#0F0" | |
} | |
} | |
}, | |
{ | |
"label": "Build TypeScript", | |
"type": "shell", | |
"command": "yarn typescript", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"problemMatcher": "$tsc", | |
"presentation": { | |
"reveal": "always", | |
"focus": false, | |
"panel": "dedicated", | |
"showReuseMessage": false, | |
"clear": true | |
}, | |
"options": { | |
"statusbar": { | |
"label": "$(wrench)", | |
"tooltip": "Build TypeScript", | |
"color": "#4a86e0" | |
} | |
} | |
}, | |
{ | |
"label": "Run unit tests", | |
"type": "shell", | |
"command": "yarn test:unit", | |
"problemMatcher": [], | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "dedicated" | |
}, | |
"options": { | |
"statusbar": { | |
"label": "$(test-view-icon)", | |
"tooltip": "Run unit tests", | |
"color": "#eed91a" | |
} | |
} | |
}, | |
{ | |
"label": "Lint and generate docs", | |
"type": "shell", | |
"command": "yarn lint && yarn proptypes && yarn docs:api && yarn docs:i18n && yarn docs:typescript:formatted && yarn framer:build && yarn prettier", | |
"problemMatcher": [], | |
"presentation": { | |
"reveal": "silent", | |
"panel": "dedicated" | |
}, | |
"options": { | |
"statusbar": { | |
"label": "$(pencil)", | |
"tooltip": "Lint and generate docs", | |
"color": "#7e66b6" | |
} | |
} | |
}, | |
{ | |
"label": "Prepare for push", | |
"type": "shell", | |
"command": "yarn lint && yarn proptypes && yarn docs:api && yarn docs:i18n && yarn docs:typescript:formatted && yarn framer:build && yarn prettier && yarn typescript && yarn test:unit", | |
"problemMatcher": [], | |
"presentation": { | |
"reveal": "always", | |
"panel": "dedicated" | |
}, | |
"options": { | |
"statusbar": { | |
"label": "[$(pencil)$(wrench)$(test-view-icon)]", | |
"tooltip": "Prepare for push", | |
"color": "#dd4430" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment