package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "smart-buffer",
  3. "version": "4.2.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. "contributors": ["syvita"],
  7. "homepage": "https://github.com/JoshGlazebrook/smart-buffer/",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/JoshGlazebrook/smart-buffer.git"
  11. },
  12. "bugs": {
  13. "url": "https://github.com/JoshGlazebrook/smart-buffer/issues"
  14. },
  15. "keywords": [
  16. "buffer",
  17. "smart",
  18. "packet",
  19. "serialize",
  20. "network",
  21. "cursor",
  22. "simple"
  23. ],
  24. "engines": {
  25. "node": ">= 6.0.0",
  26. "npm": ">= 3.0.0"
  27. },
  28. "author": "Josh Glazebrook",
  29. "license": "MIT",
  30. "readmeFilename": "README.md",
  31. "devDependencies": {
  32. "@types/chai": "4.1.7",
  33. "@types/mocha": "5.2.7",
  34. "@types/node": "^12.0.0",
  35. "chai": "4.2.0",
  36. "coveralls": "3.0.5",
  37. "istanbul": "^0.4.5",
  38. "mocha": "6.2.0",
  39. "mocha-lcov-reporter": "^1.3.0",
  40. "nyc": "14.1.1",
  41. "source-map-support": "0.5.12",
  42. "ts-node": "8.3.0",
  43. "tslint": "5.18.0",
  44. "typescript": "^3.2.1"
  45. },
  46. "typings": "typings/smartbuffer.d.ts",
  47. "dependencies": {},
  48. "scripts": {
  49. "prepublish": "npm install -g typescript && npm run build",
  50. "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts",
  51. "coverage": "NODE_ENV=test nyc npm test",
  52. "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls",
  53. "lint": "tslint --type-check --project tsconfig.json 'src/**/*.ts'",
  54. "build": "tsc -p ./"
  55. },
  56. "nyc": {
  57. "extension": [
  58. ".ts",
  59. ".tsx"
  60. ],
  61. "include": [
  62. "src/*.ts",
  63. "src/**/*.ts"
  64. ],
  65. "exclude": [
  66. "**.*.d.ts",
  67. "node_modules",
  68. "typings"
  69. ],
  70. "require": [
  71. "ts-node/register"
  72. ],
  73. "reporter": [
  74. "json",
  75. "html"
  76. ],
  77. "all": true
  78. }
  79. }