UNPKG

magicbell

Version:
137 lines (136 loc) 3.56 kB
{ "name": "magicbell", "version": "4.4.1", "description": "MagicBell API wrapper", "author": "MagicBell <bot@magicbell.io> (https://magicbell.com)", "contributors": [ "Stephan Meijer <stephan.meijer@gmail.com>" ], "license": "SEE LICENSE IN LICENSE", "tshy": { "project": "./tsconfig.build.json", "exports": "./src/*.ts" }, "source": "./src/index.ts", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "exports": { "./crypto": { "import": { "types": "./dist/esm/crypto.d.ts", "default": "./dist/esm/crypto.js" }, "require": { "types": "./dist/commonjs/crypto.d.ts", "default": "./dist/commonjs/crypto.js" } }, "./errors": { "import": { "types": "./dist/esm/errors.d.ts", "default": "./dist/esm/errors.js" }, "require": { "types": "./dist/commonjs/errors.d.ts", "default": "./dist/commonjs/errors.js" } }, ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./project-client": { "import": { "types": "./dist/esm/project-client.d.ts", "default": "./dist/esm/project-client.js" }, "require": { "types": "./dist/commonjs/project-client.d.ts", "default": "./dist/commonjs/project-client.js" } }, "./user-client": { "import": { "types": "./dist/esm/user-client.d.ts", "default": "./dist/esm/user-client.js" }, "require": { "types": "./dist/commonjs/user-client.d.ts", "default": "./dist/commonjs/user-client.js" } }, "./package.json": "./package.json" }, "sideEffects": false, "files": [ "/dist", "LICENSE", "/crypto/package.json", "/errors/package.json", "/project-client/package.json", "/user-client/package.json" ], "homepage": "https://magicbell.com", "keywords": [ "magicbell", "notifications", "notification center", "notification inbox", "api" ], "repository": { "type": "git", "url": "git+https://github.com/magicbell/magicbell-js.git", "directory": "packages/magicbell" }, "bugs": { "url": "https://github.com/magicbell/magicbell-js/issues" }, "scripts": { "clean": "rimraf dist", "build": "run-s clean build:bundle build:replace build:node10 build:attw", "build:bundle": "tshy", "build:replace": "tsx scripts/post-build.ts", "build:node10": "tsx scripts/fix-node10.ts", "build:attw": "attw -P", "codegen": "tsx scripts/generate-resources.ts --dest ./src", "start": "tshy --watch", "size": "size-limit" }, "size-limit": [ { "path": "dist/magicbell.cjs.min.js", "limit": "250 KB" }, { "path": "dist/magicbell.esm.min.js", "limit": "175 KB" } ], "devDependencies": { "@magicbell/codegen": "^0.3.0", "@magicbell/utils": "^0.2.1", "@size-limit/preset-small-lib": "^11.1.4", "ast-types": "^0.14.2", "json5": "^2.2.3", "openapi-types": "^12.1.3", "portfinder": "^1.0.32", "recast": "^0.23.4", "tsx": "^4.19.0" }, "dependencies": { "@smeijer/ky": "^1.7.2", "debug": "^4.4.0", "fetch-addons": "^1.3.0", "json-schema-to-ts": "3.1.0", "url-join": "^4.0.1" }, "type": "module", "types": "./dist/commonjs/index.d.ts" }