package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "minipass",
  3. "version": "5.0.0",
  4. "description": "minimal implementation of a PassThrough stream",
  5. "main": "./index.js",
  6. "module": "./index.mjs",
  7. "types": "./index.d.ts",
  8. "exports": {
  9. ".": {
  10. "import": {
  11. "types": "./index.d.ts",
  12. "default": "./index.mjs"
  13. },
  14. "require": {
  15. "types": "./index.d.ts",
  16. "default": "./index.js"
  17. }
  18. },
  19. "./package.json": "./package.json"
  20. },
  21. "devDependencies": {
  22. "@types/node": "^17.0.41",
  23. "end-of-stream": "^1.4.0",
  24. "node-abort-controller": "^3.1.1",
  25. "prettier": "^2.6.2",
  26. "tap": "^16.2.0",
  27. "through2": "^2.0.3",
  28. "ts-node": "^10.8.1",
  29. "typedoc": "^0.23.24",
  30. "typescript": "^4.7.3"
  31. },
  32. "scripts": {
  33. "pretest": "npm run prepare",
  34. "presnap": "npm run prepare",
  35. "prepare": "node ./scripts/transpile-to-esm.js",
  36. "snap": "tap",
  37. "test": "tap",
  38. "preversion": "npm test",
  39. "postversion": "npm publish",
  40. "postpublish": "git push origin --follow-tags",
  41. "typedoc": "typedoc ./index.d.ts",
  42. "format": "prettier --write . --loglevel warn"
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/isaacs/minipass.git"
  47. },
  48. "keywords": [
  49. "passthrough",
  50. "stream"
  51. ],
  52. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
  53. "license": "ISC",
  54. "files": [
  55. "index.d.ts",
  56. "index.js",
  57. "index.mjs"
  58. ],
  59. "tap": {
  60. "check-coverage": true
  61. },
  62. "engines": {
  63. "node": ">=8"
  64. },
  65. "prettier": {
  66. "semi": false,
  67. "printWidth": 80,
  68. "tabWidth": 2,
  69. "useTabs": false,
  70. "singleQuote": true,
  71. "jsxSingleQuote": false,
  72. "bracketSameLine": true,
  73. "arrowParens": "avoid",
  74. "endOfLine": "lf"
  75. }
  76. }