Skip to content

Commit

Permalink
Add VS Code build task
Browse files Browse the repository at this point in the history
  • Loading branch information
Septh committed Aug 18, 2024
1 parent f7e5dd9 commit d768094
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"typescript.tsdk": "node_modules\\typescript\\lib",
"javascript.preferences.importModuleSpecifierEnding": "js",
"typescript.preferences.importModuleSpecifierEnding": "js",
"js/ts.implicitProjectConfig.module": "NodeNext"
"js/ts.implicitProjectConfig.module": "NodeNext",
"terminal.integrated.automationProfile.windows": {
"path": "pwsh.exe",
"icon": "terminal-powershell"
}
}
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
"problemMatcher": "$eslint-stylish",
"label": "npm: lint",
"detail": "eslint src/index.ts"
},
{
"type": "typescript",
"tsconfig": "tsconfig.build.json",
"option": "watch",
"problemMatcher": [
"$tsc-watch"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "tsc: watch - tsconfig.build.json"
}
]
}

0 comments on commit d768094

Please sign in to comment.