package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "aedes-packet",
  3. "version": "3.0.0",
  4. "description": "Basic data structure for packets in Aedes ",
  5. "main": "packet.js",
  6. "types": "packet.d.ts",
  7. "scripts": {
  8. "lint": "npm run lint:standard && npm run lint:typescript && npm run lint:markdown",
  9. "lint:standard": "standard --verbose | snazzy",
  10. "lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin test/types/*.ts packet.d.ts",
  11. "lint:markdown": "markdownlint README.md",
  12. "unit": "tap test.js",
  13. "typescript": "tsc --project ./test/types/tsconfig.json",
  14. "test": "npm run lint && npm run unit && npm run typescript",
  15. "test:ci": "npm run test",
  16. "license-checker": "license-checker --production --onlyAllow='MIT;ISC;BSD-3-Clause;BSD-2-Clause'",
  17. "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
  18. },
  19. "release-it": {
  20. "github": {
  21. "release": true
  22. },
  23. "git": {
  24. "tagName": "v${version}"
  25. },
  26. "hooks": {
  27. "before:init": [
  28. "npm run test"
  29. ]
  30. },
  31. "npm": {
  32. "publish": true
  33. }
  34. },
  35. "pre-commit": [
  36. "test"
  37. ],
  38. "repository": {
  39. "type": "git",
  40. "url": "git+https://github.com/moscajs/aedes-packet.git"
  41. },
  42. "keywords": [
  43. "mqtt",
  44. "packet",
  45. "broker",
  46. "aedes"
  47. ],
  48. "author": "Matteo Collina <hello@matteocollina.com>",
  49. "contributors": [
  50. {
  51. "name": "Gnought",
  52. "url": "https://github.com/gnought"
  53. }
  54. ],
  55. "license": "MIT",
  56. "bugs": {
  57. "url": "https://github.com/moscajs/aedes-packet/issues"
  58. },
  59. "homepage": "https://github.com/moscajs/aedes-packet#readme",
  60. "engines": {
  61. "node": ">=14"
  62. },
  63. "dependencies": {
  64. "mqtt-packet": "^7.0.0"
  65. },
  66. "devDependencies": {
  67. "@types/node": "^17.0.0",
  68. "@typescript-eslint/eslint-plugin": "^4.17.0",
  69. "@typescript-eslint/parser": "^4.17.0",
  70. "faucet": "0.0.1",
  71. "license-checker": "^25.0.1",
  72. "markdownlint-cli": "^0.29.0",
  73. "pre-commit": "^1.2.2",
  74. "release-it": "^15.0.0",
  75. "snazzy": "^9.0.0",
  76. "standard": "^16.0.3",
  77. "tap": "^15.2.3",
  78. "typescript": "^4.6.4"
  79. }
  80. }