• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "minipass",
3  "version": "7.0.4",
4  "description": "minimal implementation of a PassThrough stream",
5  "main": "./dist/commonjs/index.js",
6  "types": "./dist/commonjs/index.d.ts",
7  "type": "module",
8  "tshy": {
9    "main": true,
10    "exports": {
11      "./package.json": "./package.json",
12      ".": "./src/index.ts"
13    }
14  },
15  "exports": {
16    "./package.json": "./package.json",
17    ".": {
18      "import": {
19        "types": "./dist/esm/index.d.ts",
20        "default": "./dist/esm/index.js"
21      },
22      "require": {
23        "types": "./dist/commonjs/index.d.ts",
24        "default": "./dist/commonjs/index.js"
25      }
26    }
27  },
28  "files": [
29    "dist"
30  ],
31  "scripts": {
32    "preversion": "npm test",
33    "postversion": "npm publish",
34    "prepublishOnly": "git push origin --follow-tags",
35    "prepare": "tshy",
36    "pretest": "npm run prepare",
37    "presnap": "npm run prepare",
38    "test": "tap",
39    "snap": "tap",
40    "format": "prettier --write . --loglevel warn",
41    "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
42  },
43  "prettier": {
44    "semi": false,
45    "printWidth": 75,
46    "tabWidth": 2,
47    "useTabs": false,
48    "singleQuote": true,
49    "jsxSingleQuote": false,
50    "bracketSameLine": true,
51    "arrowParens": "avoid",
52    "endOfLine": "lf"
53  },
54  "devDependencies": {
55    "@types/end-of-stream": "^1.4.2",
56    "@types/node": "^20.1.2",
57    "end-of-stream": "^1.4.0",
58    "node-abort-controller": "^3.1.1",
59    "prettier": "^2.6.2",
60    "sync-content": "^1.0.2",
61    "tap": "^18.3.0",
62    "through2": "^2.0.3",
63    "tshy": "^1.2.2",
64    "typedoc": "^0.25.1",
65    "typescript": "^5.2.2"
66  },
67  "repository": "https://github.com/isaacs/minipass",
68  "keywords": [
69    "passthrough",
70    "stream"
71  ],
72  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
73  "license": "ISC",
74  "engines": {
75    "node": ">=16 || 14 >=14.17"
76  },
77  "tap": {
78    "include": [
79      "test/*.ts"
80    ]
81  }
82}
83