package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "smart-buffer",
  3. "version": "4.1.0",
  4. "description": "smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.",
  5. "main": "build/smartbuffer.js",
  6. "homepage": "https://github.com/JoshGlazebrook/smart-buffer/",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/JoshGlazebrook/smart-buffer.git"
  10. },
  11. "bugs": {
  12. "url": "https://github.com/JoshGlazebrook/smart-buffer/issues"
  13. },
  14. "keywords": [
  15. "buffer",
  16. "smart",
  17. "packet",
  18. "serialize",
  19. "network",
  20. "cursor",
  21. "simple"
  22. ],
  23. "engines": {
  24. "node": ">= 6.0.0",
  25. "npm": ">= 3.0.0"
  26. },
  27. "author": "Josh Glazebrook",
  28. "license": "MIT",
  29. "readmeFilename": "README.md",
  30. "devDependencies": {
  31. "@types/chai": "4.1.7",
  32. "@types/mocha": "5.2.7",
  33. "@types/node": "^12.0.0",
  34. "chai": "4.2.0",
  35. "coveralls": "3.0.5",
  36. "istanbul": "^0.4.5",
  37. "mocha": "6.2.0",
  38. "mocha-lcov-reporter": "^1.3.0",
  39. "nyc": "14.1.1",
  40. "source-map-support": "0.5.12",
  41. "ts-node": "8.3.0",
  42. "tslint": "5.18.0",
  43. "typescript": "^3.2.1"
  44. },
  45. "typings": "typings/smartbuffer.d.ts",
  46. "dependencies": {},
  47. "scripts": {
  48. "prepublish": "npm install -g typescript && npm run build",
  49. "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts",
  50. "coverage": "NODE_ENV=test nyc npm test",
  51. "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls",
  52. "lint": "tslint --type-check --project tsconfig.json 'src/**/*.ts'",
  53. "build": "tsc -p ./"
  54. },
  55. "nyc": {
  56. "extension": [
  57. ".ts",
  58. ".tsx"
  59. ],
  60. "include": [
  61. "src/*.ts",
  62. "src/**/*.ts"
  63. ],
  64. "exclude": [
  65. "**.*.d.ts",
  66. "node_modules",
  67. "typings"
  68. ],
  69. "require": [
  70. "ts-node/register"
  71. ],
  72. "reporter": [
  73. "json",
  74. "html"
  75. ],
  76. "all": true
  77. },
  78. "__npminstall_done": "Thu Dec 24 2020 20:20:51 GMT+0800 (CST)",
  79. "_from": "smart-buffer@4.1.0",
  80. "_resolved": "https://registry.npm.taobao.org/smart-buffer/download/smart-buffer-4.1.0.tgz"
  81. }