UNPKG

@iotile/iotile-device

Version:

A typescript library for interfacing with IOTile BLE devices

120 lines (119 loc) 3.22 kB
{ "name": "@iotile/iotile-device", "version": "0.4.1", "description": "A typescript library for interfacing with IOTile BLE devices", "main": "dist/iotile-device.umd.js", "types": "dist/types/index.d.ts", "module": "dist/iotile-device.es5.js", "repository": { "type": "git", "url": "git+https://github.com/iotile/iotile-device.git" }, "license": "MIT", "keywords": [ "typescript", "library", "tslint", "iotile", "iotile-device", "iot" ], "scripts": { "lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "build": "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --name iotile-device --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": { "tsConfig": "tsconfig.jest.json" } }, "transform": { ".b64": "<rootDir>/tests/preprocess-binary.js", ".(js|ts|tsx)": "ts-jest" }, "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": 30, "functions": 50, "lines": 50, "statements": 50 } }, "collectCoverage": true }, "engines": { "node": ">=8.9" }, "dependencies": { "@types/crypto-js": "^3.1.40", "crypto-js": "^3.1.9-1", "heatshrink-ts": "^0.1.0" }, "peerDependencies": { "typescript-logging": "^0.6.3", "msgpack-lite": "^0.1.26", "@iotile/iotile-common": "0.2.2" }, "devDependencies": { "@iotile/iotile-common": "0.2.2", "@types/jest": "^22.0.0", "@types/lodash": "4.14.108", "@types/msgpack-lite": "^0.1.6", "@types/node": "^9.3.0", "cz-conventional-changelog": "^2.1.0", "gh-pages": "^1.0.0", "jest": "^23.6.0", "lodash": "4.17.5", "lodash.camelcase": "^4.3.0", "msgpack-lite": "^0.1.26", "prettier": "^1.10.2", "rollup": "^1.15.1", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^5.0.1", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.10.0", "standard-version": "^4.0.0", "ts-jest": "^23.10.5", "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/iotile-device/issues" }, "homepage": "https://github.com/iotile/iotile-device#readme", "directories": { "test": "tests" }, "author": "kdehart" }