Skip to content

Commit

Permalink
chore: add scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
selemondev committed Feb 3, 2024
1 parent b55291e commit 3f8cfb0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 304 deletions.
22 changes: 2 additions & 20 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"tasks": [
{
"type": "npm",
"script": "watch",
"script": "dev",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
Expand All @@ -16,24 +17,5 @@
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"problemMatcher": []
}
]
}
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ out/**
node_modules/**
.gitignore
.npmrc
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
**/.vscode-test.*
**/.vscode-test.*
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,18 @@
]
},
"scripts": {
"vscode:prepublish": "pnpm run build",
"vscode:prepublish": "pnpm build",
"generate:release": "npx changelogen@latest --release",
"build": "tsup",
"dev": "pnpm build -- --watch",
"deploy": "vsce publish --no-dependencies",
"pretest": "pnpm run compile && yarn run lint",
"release": "pnpm vscode:prepublish && bumpp --commit --push && yarn deploy",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "20.2.5",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"bumpp": "^9.2.0",
"eslint": "^8.41.0",
"tsup": "^8.0.1",
"typescript": "^5.1.3"
Expand Down
Loading

0 comments on commit 3f8cfb0

Please sign in to comment.