prepare for publishing

This commit is contained in:
parent 08c244ab9d
commit 120ba3482c
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -14,6 +14,9 @@
"typescript": "^5.6.3", "typescript": "^5.6.3",
"xvfb-maybe": "^0.2.1" "xvfb-maybe": "^0.2.1"
}, },
"files": [
"./lib"
],
"version": "0.0.1", "version": "0.0.1",
"exports": { "exports": {
".": { ".": {
@ -34,10 +37,11 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"lint": "tslint -c tslint.json src/**/*.ts", "lint": "tslint -c tslint.json src/**/*.ts",
"prepublish": "npm run build" "prepare": "yarn rimraf lib && yarn build"
}, },
"devDependencies": { "devDependencies": {
"@types/tmp": "^0", "@types/tmp": "^0",
"rimraf": "^6.0.1",
"vitest": "^2.1.3" "vitest": "^2.1.3"
}, },
"type": "module" "type": "module"