mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 14:06:07 +00:00
fix: bun test
This commit is contained in:
parent
0fd02117ce
commit
2fe214a01e
9
_build.js
Normal file
9
_build.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
const { execSync } = require("child_process");
|
||||||
|
|
||||||
|
try {
|
||||||
|
execSync('tsc');
|
||||||
|
console.log('Builded');
|
||||||
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
|
console.log('Builded with errors');
|
||||||
|
}
|
@ -11,7 +11,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --outDir ./lib",
|
"build": "tsc --outDir ./lib",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"prepare": "npm run build && husky install",
|
"prepare": "node ./_build.js && husky install",
|
||||||
"lint": "biome lint --apply ./src",
|
"lint": "biome lint --apply ./src",
|
||||||
"format": "biome format --write ./src",
|
"format": "biome format --write ./src",
|
||||||
"check-h": "biome check --apply ./src",
|
"check-h": "biome check --apply ./src",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user