@smapiot/piral-cloud-browser
Version:
Piral Cloud: Browser-usable API Client for the Piral Feed Service.
61 lines (60 loc) • 1.53 kB
JSON
{
"name": "@smapiot/piral-cloud-browser",
"version": "1.18.0-pre.20251103.1",
"description": "Piral Cloud: Browser-usable API Client for the Piral Feed Service.",
"author": {
"name": "smapiot",
"url": "https://smapiot.com"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16.0"
},
"main": "lib/sdk.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"require": "./lib/sdk.js",
"import": "./lib/index.js",
"browser": "./lib/sdk.js",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"homepage": "https://piral.cloud",
"license": "MIT",
"scripts": {
"build": "yarn bundle && yarn declaration",
"bundle": "yarn bundle:sdk && yarn bundle:esm",
"bundle:sdk": "esbuild src/index.ts --bundle --outfile=lib/sdk.js --format=iife --global-name=feedService --target=es2020 --platform=browser",
"bundle:esm": "esbuild src/index.ts --bundle --outfile=lib/index.js --format=esm --target=es2020 --platform=browser",
"declaration": "dets --files src/index.ts --types src/index.ts --out lib/index.d.ts"
},
"repository": {},
"keywords": [
"pilet",
"feed",
"service",
"piral",
"smapiot",
"public",
"modules",
"features",
"sdk",
"api",
"client",
"browser"
],
"devDependencies": {
"@piral/feed-client": "^1.18.0",
"dets": "^0.16",
"esbuild": "^0.25.4"
}
}