improve build script

This commit is contained in:
Andre Staltz 2023-06-25 16:03:17 +03:00
parent 8e026c9028
commit 426d2b4535
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"typescript": "^5.0.2" "typescript": "^5.0.2"
}, },
"scripts": { "scripts": {
"build": "rm lib/**/*.d.ts && tsc", "build": "rm -f lib/**/*.d.ts && tsc",
"test": "node --test", "test": "node --test",
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"", "format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"", "format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",