UNPKG

@iot9x.com/ipc-utils

Version:

九星云、九星小程序、九星配置工具所共用的库方法

85 lines (84 loc) 2.07 kB
{ "name": "@iot9x.com/ipc-utils", "version": "0.1.8", "description": "九星云、九星小程序、九星配置工具所共用的库方法", "author": "liming@9xing.cn", "license": "MIT", "keywords": [ "jx", "utils", "Modbus", "Modbus RTU", "Modbus TCP", "Modbus PDU", "DL/T645", "DL/T645-1997", "DL/T645-2007", "DLT645", "DLT645-1997", "DLT645-2007", "HJ212", "CJ188", "CJ/T188", "CJT188" ], "files": [ "lib/**/*" ], "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "jest", "build": "tsc", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "prepare": "npm run build", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "prepublish:next": "npm run build", "publish:next": "npm publish --access public --tag next", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", "prerelease": "npm run build" }, "dependencies": { "buffer": "^6.0.3", "crc": "^4.3.2", "dayjs": "^1.11.9", "iconv-lite": "^0.6.3", "ieee754": "^1.2.1", "validator": "^13.11.0" }, "devDependencies": { "@types/jest": "^29.5.4", "@types/node": "^20.5.0", "@types/validator": "^13.11.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^8.0.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^29.6.4", "prettier": "^2.7.1", "ts-jest": "^29.1.1", "typescript": "^5.1.6" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" } }