fix ui exports, change api package bunder to vite, fix type exports

This commit is contained in:
Gregor Vostrak
2024-08-22 15:39:04 +02:00
parent 35c65d3bf0
commit 1328692faf
8 changed files with 1965 additions and 95 deletions

View File

@@ -1,15 +1,17 @@
{
"name": "@solidtime/api",
"version": "0.0.1",
"version": "0.0.2",
"description": "Package containing the solidtime api client and type declarations",
"main": "dist/index.js",
"main": "./dist/solidtime-api.umd.cjs",
"module": "./dist/solidtime-api.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/solidtime-io/solidtime.git",
"directory": "resources/js/packages/api"
},
"scripts": {
"build": "npx ncc build src/index.ts",
"build": "npx vite build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"files": [
@@ -31,6 +33,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1"
"vite": "^5.4.2",
"vite-plugin-dts": "^4.0.3"
}
}