UNPKG

iotagent-node-lib

Version:

IoT Agent library to interface with NGSI Context Broker

102 lines (101 loc) 3.72 kB
{ "name": "iotagent-node-lib", "license": "AGPL-3.0-only", "description": "IoT Agent library to interface with NGSI Context Broker", "version": "4.8.0", "homepage": "https://github.com/telefonicaid/iotagent-node-lib", "keywords": [ "fiware", "iotagent", "ngsi", "context broker" ], "author": { "name": "Daniel Moran", "email": "daniel.moranjimenez@telefonica.com" }, "repository": { "type": "git", "url": "git://github.com/telefonicaid/iotagent-node-lib.git" }, "bugs": { "url": "https://github.com/telefonicaid/iotagent-node-lib/issues" }, "main": "lib/fiware-iotagent-lib", "engines": { "node": ">=16" }, "scripts": { "clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage", "lint": "eslint lib/ test/ --cache --fix", "lint:md": "remark -f '*.md' 'doc/*.md'", "lint:text": "textlint '*.md' 'doc/*.md'", "prettier": "prettier --config .prettierrc.json --write '**/**/**/**/*.js' '**/**/**/*.js' '**/**/*.js' '**/*.js' '*.js'", "prettier:text": "prettier 'README.md' 'doc/*.md' 'doc/**/*.md' --no-config --tab-width 4 --print-width 120 --write --prose-wrap always", "test": "nyc --reporter=text mocha --recursive 'test/**/*.js' --reporter spec --timeout 8000 --ui bdd --exit --color true", "test:functional": "nyc --reporter=text mocha --recursive 'test/functional/*.js' --reporter spec --timeout 5000 --ui bdd --exit --color true", "test:expression": "nyc --reporter=text mocha --recursive 'test/unit/expressions/*.js' --reporter spec --timeout 5000 --ui bdd --exit --color true", "test:multientity": "nyc --reporter=text mocha --recursive 'test/unit/ngsiv2/plugins/multientity-plugin_test.js' --reporter spec --timeout 5000 --ui bdd --exit --color true", "test:debug": "mocha --recursive 'test/**/*.js' --reporter spec --inspect-brk --timeout 30000 --ui bdd --exit", "test:coverage": "nyc --reporter=lcov mocha -- --recursive 'test/**/*.js' --reporter spec --timeout 5000 --exit", "test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "test:watch": "npm run test -- -w ./lib", "watch": "watch 'npm test && npm run lint' ./lib ./test" }, "dependencies": { "async": "2.6.4", "body-parser": "~1.20.3", "express": "~4.21.2", "got": "~11.8.5", "jexl": "2.3.0", "jison": "0.4.18", "logops": "2.1.2", "moment": "~2.29.2", "moment-timezone": "~0.5.34", "mongoose": "8.9.5", "query-string": "7.1.1", "revalidator": "~0.3.1", "underscore": "~1.13.4", "uuid": "~8.3.2" }, "devDependencies": { "async-mqtt": "~2.6.3", "chai": "~4.3.10", "chai-match-pattern": "~1.3.0", "coveralls": "~3.1.1", "eslint": "~8.18.0", "eslint-config-tamia": "~8.0.0", "eslint-plugin-prettier": "~4.0.0", "husky": "~4.2.5", "lint-staged": "~12.3.8", "mocha": "10.0.0", "mongodb": "4.17.2", "nock": "13.2.7", "nyc": "~15.1.0", "prettier": "~2.7.1", "remark-cli": "~10.0.1", "remark-preset-lint-recommended": "~6.1.2", "should": "13.2.3", "sinon": "~14.0.0", "textlint": "~12.2.1", "textlint-filter-rule-comments": "~1.2.2", "textlint-rule-common-misspellings": "~1.0.1", "textlint-rule-terminology": "~3.0.2", "textlint-rule-write-good": "~2.0.0", "timekeeper": "2.2.0", "watch": "~1.0.2" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.md": [ "prettier --parser markdown --tab-width 4 --print-width 120 --write --prose-wrap always" ], "*.js": [ "prettier --config .prettierrc.json --write" ] } }