convert project to typescript

This commit is contained in:
2024-11-21 13:23:45 -05:00
parent 1226a742b5
commit 88dced2c4d
11 changed files with 218 additions and 165 deletions

View File

@@ -10,7 +10,7 @@
"dist"
],
"scripts": {
"build": "rm -rf dist && mkdir dist && cp src/*.js dist/",
"build": "rm -rf dist && bun run build.ts",
"test": "echo \"No tests specified\" && exit 0",
"prepublishOnly": "npm run build",
"dev": "npx .",
@@ -31,6 +31,10 @@
"@eslint/js": "^9.14.0",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"prettier": "^3.3.3"
"prettier": "^3.3.3",
"bun": "latest",
"@types/bun": "latest",
"@types/node": "^22.9.1",
"@types/micromatch": "^4.0.9"
}
}