UNPKG

ts-bacnet

Version:

The BACnet protocol library written in pure JavaScript.

96 lines (95 loc) 3.52 kB
{ "name": "ts-bacnet", "version": "0.3.1", "description": "The BACnet protocol library written in pure JavaScript.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "changelog": "conventional-changelog -p conventail -i CHANGELOG.md -s -r 0", "lint": "jshint lib/ test/ index.js && eslint lib/** test/** examples/** index.js", "lint:fix": "eslint --fix lib/** test/** examples/** index.js", "lint:fix:dry": "eslint --fix-dry-run lib/** test/** examples/** index.js", "test": "cp tsconfig.testing.json tsconfig.json && tsc && npm run test:unit && npm run test:integration", "coverage": "nyc --reporter=lcov --reporter=text-summary --report-dir reports/coverage npm test", "coverage:compliance": "nyc --reporter=lcov --reporter=text-summary --report-dir reports/coverage npm run test:compliance", "coverage:all": "DEBUG=bacnet* nyc --reporter=lcov --reporter=text-summary --report-dir /reports/coverage npm run test:all", "test:unit": "DEBUG=bacnet* mocha test/unit/*.spec.js", "test:integration": "DEBUG=bacnet* mocha test/integration/*.spec.js --timeout 5000", "test:compliance": "DEBUG=bacnet* mocha test/compliance/*.spec.js --timeout 5000", "test:all": "DEBUG=bacnet* mocha test/unit/*.spec.js test/integration/*.spec.js test/compliance/*.spec.js --timeout 5000", "docs": "cp tsconfig.testing.json tsconfig.json && tsc && cp -r images docs && jsdoc -r -d ./docs -t node_modules/@mocha/docdash ./lib ./dist/index.js ./README.md", "release": "standard-version -a", "release:beta": "standard-version --prerelease beta", "release:alpha": "standard-version --prerelease alpha", "compose:build": "docker-compose build", "compose:up": "docker-compose up --abort-on-container-exit --exit-code-from bacnet-client", "docker": "npm run compose:build && npm run compose:up", "prepublishOnly": "npm run coverage && npm run docs && npm run build", "build": "cp tsconfig.deployment.json tsconfig.json && tsup index.ts --format cjs,esm --dts", "publishToNPM": "npm publish --access public" }, "repository": { "type": "git", "url": "git+https://github.com/VerticGreens/ts-bacnet.git" }, "keywords": [ "bacnet", "fieldbus", "building", "automation", "iot" ], "author": "Fabio Huser <fabio@fh1.ch>", "contributors": [ "Klaus Landsdorf <klaus@iniationware.com>", "Ingo Fischer <iobroker@fischer-ka.de>", "Taner @taneron <44664524+taneron@users.noreply.github.com>" ], "engines": { "node": ">= 10" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "license": "MIT", "bugs": { "url": "https://github.com/VerticGreens/bacnet/issues" }, "homepage": "https://github.com/VerticGreens/bacnet", "dependencies": { "csv-parse": "^5.5.0", "debug": "^4.1.1", "iconv-lite": "^0.5.1", "underscore": "^1.10.2" }, "devDependencies": { "@mocha/docdash": "^2.1.3", "@types/debug": "^4.1.8", "@types/underscore": "^1.11.9", "chai": "^4.2.0", "conventional-changelog-cli": "^2.0.27", "eslint": "^7.1.0", "jsdoc": "^3.6.4", "jshint": "^2.11.1", "mocha": "^7.1.2", "nyc": "^15.0.1", "standard-version": "^8.0.0", "tsup": "^7.2.0", "typescript": "^5.2.2" }, "files": [ "docs", "examples", "lib", "index.js", "dist" ], "directories": { "example": "examples", "lib": "lib", "test": "test", "dist": "dist" } }