Add JS-specific bits to Actions
This commit is contained in:
@ -8,8 +8,10 @@
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"check-fmt": "prettier --check .",
|
||||
"lint": "eslint src/**/*.ts --ignore-pattern *.test.ts",
|
||||
"package": "ncc build",
|
||||
"test": "vitest --watch false",
|
||||
"all": "pnpm run format && pnpm run lint && pnpm run build && pnpm run package"
|
||||
},
|
||||
"repository": {
|
||||
@ -39,6 +41,7 @@
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"prettier": "^3.2.5",
|
||||
"tsup": "^8.0.2",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.4.5",
|
||||
"vitest": "^1.5.2"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user