UNPKG

@iotile/iotile-cloud

Version:

A typescript library for interfacing with the IOTile Cloud API

119 lines (118 loc) 3.17 kB
{ "name": "@iotile/iotile-cloud", "version": "0.2.1", "description": "A typescript library for interfacing with the IOTile Cloud API", "main": "dist/iotile-cloud.umd.js", "types": "dist/types/index.d.ts", "module": "dist/iotile-cloud.es5.js", "repository": { "type": "git", "url": "git+https://github.com/iotile/ts-iotile-cloud.git" }, "license": "MIT", "keywords": [ "typescript", "library", "tslint", "iotile", "iotile-cloud", "iot", "axios", "typescript-logging" ], "scripts": { "lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "build": "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --name iotile-cloud --out dist/docs --target es5 --theme minimal --mode file src", "start": "rollup -c rollup.config.ts -w", "test": "jest", "test:watch": "jest --watch", "test:prod": "npm run lint && npm run test -- --coverage --no-cache", "deploy-docs": "ts-node tools/gh-pages-publish", "report-coverage": "cat ./coverage/lcov.info | coveralls" }, "jest": { "globals": { "ts-jest": { "tsConfigFile": "tsconfig.json" } }, "transform": { ".(js|ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!iotile-common)" ], "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/" ], "coverageThreshold": { "global": { "branches": 45, "functions": 40, "lines": 55, "statements": 55 } }, "collectCoverage": true, "mapCoverage": true }, "engines": { "node": ">=8.9" }, "dependencies": { "axios": "^0.18.0", "axios-mock-adapter": "^1.15.0", "lodash.clonedeep": "^4.5.0", "lodash.merge": "^4.6.1" }, "peerDependencies": { "@iotile/iotile-common": "0.1.0", "typescript-logging": "^0.6.3" }, "devDependencies": { "@iotile/iotile-common": "0.1.0", "@types/jest": "^22.0.0", "@types/node": "^9.3.0", "cz-conventional-changelog": "^2.1.0", "gh-pages": "^1.0.0", "jest": "^22.0.2", "lodash": "^4.17.10", "lodash.camelcase": "^4.3.0", "prettier": "^1.10.2", "rollup": "^0.54.0", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.10.0", "standard-version": "^4.0.0", "ts-jest": "^22.0.0", "ts-node": "^4.1.0", "tslint": "^5.8.0", "tslint-config-prettier": "^1.1.0", "tslint-immutable": "^4.5.1", "typedoc": "^0.11.1", "typescript": "^2.4.1", "typescript-logging": "^0.6.3" }, "prettier": { "singleQuote": true }, "bugs": { "url": "https://github.com/iotile/ts-iotile-cloud/issues" }, "homepage": "https://github.com/iotile/ts-iotile-cloud#readme", "directories": { "test": "tests" }, "author": "kdehart" }