You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
1.2 KiB

{
"name": "@webavatar/webavatar-core",
"version": "0.1.0",
"license": "UNLICENSED",
"type": "module",
"engines": {
"node": ">=22.12"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"browser": "./dist/server/browser-stub.js",
"import": "./dist/server/index.js"
},
"./vite": {
"types": "./dist/vite/index.d.ts",
"browser": "./dist/server/browser-stub.js",
"import": "./dist/vite/index.js"
}
},
"dependencies": {
"better-sqlite3": "^13.0.3",
"ws": "^8.21.3",
"@types/better-sqlite3": "^9.6.0",
"@types/ws": "^8.18.1"
},
"peerDependencies": {
"vite": "^8.0.0"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
}
},
"publishConfig": {
"registry": "https://<gitea-host>/api/packages/<owner>/npm/"
},
"devDependencies": {
"@types/node": "^24",
"typescript": "^6.0.3",
"vitest": "^4.1.8"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
"check": "tsc -p tsconfig.json --noEmit",
"test": "vitest run"
}
}