UNPKG

simple-modbus

Version:

A simple library for working with Modbus with Typescript bindings.

137 lines (136 loc) 3.91 kB
{ "name": "simple-modbus", "version": "1.1.2", "description": "A simple library for working with Modbus with Typescript bindings.", "keywords": [ "Modbus", "Typescript" ], "main": "dist/simple-modbus.cjs.js", "module": "dist/simple-modbus.esm.js", "typings": "dist/simple-modbus.d.ts", "files": [ "dist" ], "author": "Luke Libraro <lukel99@gmail.com>", "repository": { "type": "git", "url": "https://github.com/LukeL99/simple-modbus" }, "license": "MIT", "engines": { "node": ">=6.0.0" }, "scripts": { "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts'", "prebuild": "rimraf dist", "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --excludePrivate --excludeProtected --target es6 --theme minimal --mode file --exclude '**/*.test.ts' src", "start": "rollup -c rollup.config.ts -w", "test": "jest --coverage", "test:watch": "jest --coverage --watch", "test:prod": "npm run lint && npm run test -- --no-cache", "deploy-docs": "ts-node tools/gh-pages-publish", "report-coverage": "cat ./coverage/lcov.info | coveralls", "commit": "git-cz", "semantic-release": "semantic-release", "semantic-release-prepare": "ts-node tools/semantic-release-prepare", "travis-deploy-once": "travis-deploy-once", "prepush": "npm run test:prod && npm run build", "commitmsg": "commitlint -E GIT_PARAMS" }, "lint-staged": { "{src,test}/**/*.ts": [ "prettier --write", "git add" ] }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testEnvironment": "node", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/src/util/typed-event.ts" ], "coverageThreshold": { "global": { "branches": 90, "functions": 95, "lines": 95, "statements": 95 } }, "collectCoverageFrom": [ "src/**/*.{js,ts}" ] }, "prettier": { "semi": false, "singleQuote": true }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@commitlint/cli": "^7.1.2", "@commitlint/config-conventional": "^7.1.2", "@semantic-release/commit-analyzer": "^6.1.0", "@semantic-release/npm": "^5.1.3", "@semantic-release/release-notes-generator": "^7.1.4", "@types/jest": "^23.3.2", "@types/node": "^10.11.0", "all-contributors-cli": "^5.4.1", "colors": "^1.3.2", "commitizen": "^3.0.0", "coveralls": "^3.0.2", "cross-env": "^5.2.0", "cz-conventional-changelog": "^2.1.0", "husky": "^1.3.1", "jest": "^23.6.0", "jest-config": "^23.6.0", "lint-staged": "^8.0.0", "lodash.camelcase": "^4.3.0", "prettier": "^1.14.3", "prompt": "^1.0.0", "replace-in-file": "^3.4.2", "rimraf": "^2.6.2", "rollup": "^1.0.0", "rollup-plugin-commonjs": "^9.1.8", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.18.0", "semantic-release": "^15.13.2", "travis-deploy-once": "^5.0.9", "ts-jest": "23.10.5", "ts-node": "^7.0.1", "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0", "tslint-config-standard": "^8.0.1", "typedoc": "^0.14.0", "typescript": "^3.0.3" }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged", "pre-push": "npm run test:prod && npm run build" } } }