@c8y/client
Version:
Client application programming interface to access the Cumulocity IoT-Platform REST services.
67 lines • 1.91 kB
JSON
{
"name": "@c8y/client",
"version": "1023.57.0",
"license": "Apache-2.0",
"author": "Cumulocity",
"description": "Client application programming interface to access the Cumulocity IoT-Platform REST services.",
"scripts": {
"build": "rimraf lib && yarn build:esm2015 && yarn build:cjs && yarn build:typings",
"build:cjs": "tsc -p . --module commonjs --outDir lib/cjs",
"build:esm2015": "tsc -p . --target es2015 --outDir lib/esm2015 && echo \"{\\\"type\\\": \\\"module\\\"}\" > lib/esm2015/package.json",
"build:typings": "tsc -p . --emitDeclarationOnly true --declaration true --declarationDir lib",
"docs": "typedoc --tsconfig docs.tsconfig.json ./index.ts",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test": "jest",
"watch": "tsc --watch"
},
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/cjs/index.js",
"import": "./lib/esm2015/index.js",
"esm2015": "./lib/esm2015/index.js",
"default": "./lib/esm2015/index.js"
},
"./package.json": "./package.json",
"./src/test": "./src/test/index.ts"
},
"files": [
"NOTICES",
"typedoc.json",
"jest.config.js",
"lib"
],
"keywords": [
"Cumulocity",
"IoT",
"m2m",
"Client",
"API",
"REST",
"fetch"
],
"module": "lib/esm2015/index.js",
"types": "lib/index.d.ts",
"dependencies": {
"@types/cometd": "4.0.8",
"@types/node": "20",
"b2a": "1.1.2",
"cometd": "4.0.8",
"cometd-nodejs-client": "1.0.2",
"cross-fetch": "4.1.0",
"form-data": "4.0.4",
"isomorphic-cometd": "1.1.0",
"tslib": "^2.6.3"
},
"devDependencies": {
"@types/fs-extra": "11.0.4",
"@types/jest": "^29.5.14",
"fs-extra": "11.3.0",
"ncp": "2.0.0",
"rimraf": "2.6.2",
"ts-jest": "^29.4.0",
"typedoc": "0.28.14",
"typescript": "5.5.4"
}
}