feat: added test to npm and changed from index.js to index.ts

This commit is contained in:
2026-04-20 23:52:08 +03:30
parent 4849d42d54
commit 951d4d8301

View File

@@ -10,10 +10,11 @@
"license": "MIT", "license": "MIT",
"author": "db", "author": "db",
"type": "commonjs", "type": "commonjs",
"main": "index.js", "main": "index.ts",
"scripts": { "scripts": {
"dev": "vite build --watch", "dev": "vite build --watch",
"build": "tsc && vite build", "build": "tsc && vite build",
"test": "vitest",
"preview": "vite preview" "preview": "vite preview"
}, },
"devDependencies": { "devDependencies": {