leafx
Version:
WebSocket Client & Utilities
67 lines (66 loc) • 1.48 kB
JSON
{
"name": "leafx",
"description": "WebSocket Client & Utilities",
"version": "0.1.3",
"author": "kocisov",
"bugs": "https://github.com/kocisov/leafx/issues",
"bundlesize": [
{
"path": "dist/index.js",
"maxSize": "1 kB"
},
{
"path": "dist/bare/index.js",
"maxSize": "1 kB"
},
{
"path": "dist/server/index.js",
"maxSize": "1 kB"
}
],
"dependencies": {
"isomorphic-ws": "^4.0.1",
"mitt": "^3.0.0",
"ws": "^8.2.3"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@types/ws": "^8.2.0",
"bundlesize2": "^0.0.31",
"tsup": "^5.6.0",
"typescript": "^4.4.4"
},
"exports": {
"./server": "./dist/server/index.js",
"./bare": "./dist/bare/index.js",
".": "./dist/index.js"
},
"files": [
"dist"
],
"homepage": "https://github.com/kocisov/leafx",
"keywords": [
"Client",
"Leaf",
"WebSocket"
],
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"repository": "https://github.com/kocisov/leafx.git",
"scripts": {
"build": "NODE_ENV=production tsup src/index.ts src/bare/index.ts src/server/index.ts --dts --format esm,cjs --env.NODE_ENV production --minify && yarn bundlesize",
"prepare": "yarn build"
},
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"server": [
"dist/server/index.d.ts"
],
"bare": [
"dist/bare/index.d.ts"
]
}
}
}