{
  "name": "serial-rs232-simple-msg-json",
  "version": "1.0.24",
  "description": "Simple library to do json messaging between rs232 ports",
  "main": "lib/main/index.js",
  "typings": "lib/main/index.d.ts",
  "module": "lib/module/index.js",
  "repository": "https://github.com/haakco/serial-rs232-simple-msg-json",
  "author": "Tim Haak",
  "license": "MIT",
  "keywords": [
    "typescript",
    "haakco",
    "rs232",
    "json"
  ],
  "dependencies": {
    "pino": "^8.14.1",
    "pino-pretty": "^10.0.1",
    "serialport": "^11.0.0"
  },
  "scripts": {
    "build": "rm -rf ./lib && run-p build:* && npm run fix",
    "build:main": "tsc -p tsconfig.json",
    "build:module": "tsc -p tsconfig.module.json",
    "lint": "run-s fix",
    "fix": "run-s fix:*",
    "fix:prettier": "prettier \"src/**/*.ts\" --write && prettier \"lib/**/*.{ts,js}\" --write ",
    "fix:lint": "eslint src --ext .ts --fix",
    "test": "run-s fix && run-s build test:*",
    "test:lint": "eslint src --ext .ts",
    "test:prettier": "prettier \"src/**/*.ts\" --list-different",
    "test:unit": "nyc --silent ava",
    "watch:build": "rm -rf ./lib && npm run build && tsc -p tsconfig.json -w",
    "watch:test": "nyc --silent ava --verbose --watch",
    "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
    "cov:html": "nyc report --reporter=html",
    "cov:lcov": "nyc report --reporter=lcov",
    "cov:send": "run-s cov:lcov && codecov",
    "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
    "doc": "run-s doc:html && open-cli lib/docs/index.html",
    "doc:html": "typedoc src/ --exclude **/*.spec.ts --out lib/docs",
    "doc:json": "typedoc src/ --exclude **/*.spec.ts --json lib/docs/typedoc.json",
    "prepare": "husky install",
    "pub": "npm run build && npm version patch --force && git commit -a -m 'pub' && git push && git push --tags && gh release create \"$(npm run get:version --silent)\" --generate-notes && npm publish",
    "get:version": "node -p \"process.env.npm_package_version\""
  },
  "devDependencies": {
    "@ava/typescript": "^4.1.0",
    "@istanbuljs/nyc-config-typescript": "^1.0.2",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "@typescript-eslint/parser": "^5.62.0",
    "ava": "^5.3.1",
    "codecov": "^3.8.3",
    "eslint": "^8.45.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-import": "^2.27.5",
    "husky": "^8.0.3",
    "lint-staged": "^13.2.3",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "open-cli": "^7.2.0",
    "prettier": "^2.8.8",
    "ts-node": "^10.9.1",
    "typedoc": "^0.24.8",
    "typescript": "^5.1.6"
  },
  "files": [
    "lib/main",
    "lib/module",
    "!**/*.spec.*",
    "!**/*.json",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "ava": {
    "failFast": true,
    "timeout": "60s",
    "typescript": {
      "rewritePaths": {
        "src/": "lib/main/"
      },
      "compile": false
    },
    "files": [
      "!lib/module/**"
    ]
  },
  "nyc": {
    "extends": "@istanbuljs/nyc-config-typescript",
    "exclude": [
      "**/*.spec.js"
    ]
  }
}
