package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "@serialport/binding-mock",
  3. "version": "10.2.2",
  4. "description": "The mock serialport bindings",
  5. "types": "./dist/index.d.ts",
  6. "main": "./dist/index.js",
  7. "exports": {
  8. "require": "./dist/index.js",
  9. "default": "./dist/index-esm.mjs"
  10. },
  11. "engines": {
  12. "node": ">=12.0.0"
  13. },
  14. "repository": "git@github.com:serialport/binding-mock.git",
  15. "homepage": "https://github.com/serialport/binding-mock",
  16. "scripts": {
  17. "test": "mocha",
  18. "lint": "tsc && eslint lib/**/*.ts",
  19. "format": "eslint lib/**/*.ts --fix",
  20. "clean": "rm -rf dist-ts dist",
  21. "build": "npm run clean && tsc -p tsconfig-build.json && rollup -c && node -r esbuild-register bundle-types",
  22. "prepublishOnly": "npm run build",
  23. "semantic-release": "semantic-release"
  24. },
  25. "keywords": [
  26. "serialport-binding",
  27. "debug"
  28. ],
  29. "license": "MIT",
  30. "devDependencies": {
  31. "@microsoft/api-extractor": "7.19.4",
  32. "@types/chai": "4.3.0",
  33. "@types/mocha": "9.1.0",
  34. "@types/node": "17.0.15",
  35. "@typescript-eslint/eslint-plugin": "5.10.2",
  36. "@typescript-eslint/parser": "5.10.2",
  37. "chai": "4.3.6",
  38. "esbuild": "0.14.18",
  39. "esbuild-register": "3.3.2",
  40. "eslint": "8.8.0",
  41. "mocha": "9.2.0",
  42. "rollup": "2.67.0",
  43. "rollup-plugin-node-resolve": "5.2.0",
  44. "semantic-release": "19.0.2",
  45. "typescript": "4.5.5"
  46. },
  47. "mocha": {
  48. "bail": true,
  49. "require": [
  50. "esbuild-register"
  51. ],
  52. "spec": "lib/**/*-test.ts"
  53. },
  54. "dependencies": {
  55. "@serialport/bindings-interface": "^1.2.1",
  56. "debug": "^4.3.3"
  57. }
  58. }