76 lines
2.0 KiB
JSON
76 lines
2.0 KiB
JSON
{
|
|
"name": "@dadigua/hyperchat-shared",
|
|
"version": "2.0.0-alpha.63",
|
|
"description": "HyperChat Shared - Common types, utilities and schemas",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./ai": {
|
|
"types": "./dist/ai.d.mts",
|
|
"import": "./dist/ai.mjs"
|
|
},
|
|
"./data": {
|
|
"types": "./dist/data.d.mts",
|
|
"import": "./dist/data.mjs"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.mts",
|
|
"import": "./dist/types.mjs"
|
|
},
|
|
"./workspace": {
|
|
"types": "./dist/workspace.d.mts",
|
|
"import": "./dist/workspace.mjs"
|
|
},
|
|
"./providers": {
|
|
"types": "./dist/providers.d.mts",
|
|
"import": "./dist/providers.mjs"
|
|
},
|
|
"./jsonSchemas/*": {
|
|
"types": "./dist/jsonSchemas/*.d.mts",
|
|
"import": "./dist/jsonSchemas/*.mjs"
|
|
},
|
|
"./jsonSchemas/appSettingsSchema": {
|
|
"types": "./dist/jsonSchemas/appSettingsSchema.d.mts",
|
|
"import": "./dist/jsonSchemas/appSettingsSchema.mjs"
|
|
},
|
|
"./i18n": {
|
|
"types": "./dist/i18n/index.d.mts",
|
|
"import": "./dist/i18n/index.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.json --noEmitOnError false || echo 'Build completed with warnings' && npm run copy-assets",
|
|
"copy-assets": "cp -r src/i18n/i18n.json dist/i18n/",
|
|
"dev": "tsc --project tsconfig.json --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"json-schema-to-zod": "^2.6.1",
|
|
"uuid": "^11.0.3",
|
|
"zod": "^3.25.76",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.5",
|
|
"@types/uuid": "^10.0.0",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/BigSweetPotatoStudio/HyperChat.git"
|
|
},
|
|
"author": "Dadigua <0laopo0@gmail.com>",
|
|
"license": "MIT"
|
|
}
|