1{
2  "name": "foreground-child",
3  "version": "3.1.1",
4  "description": "Run a child as if it's the foreground process. Give it stdio. Exit when it exits.",
5  "main": "./dist/cjs/index.js",
6  "module": "./dist/mjs/index.js",
7  "types": "./dist/mjs/index.d.ts",
8  "exports": {
9    ".": {
10      "import": {
11        "types": "./dist/mjs/index.d.ts",
12        "default": "./dist/mjs/index.js"
13      },
14      "require": {
15        "types": "./dist/cjs/index.d.ts",
16        "default": "./dist/cjs/index.js"
17      }
18    }
19  },
20  "files": [
21    "dist"
22  ],
23  "engines": {
24    "node": ">=14"
25  },
26  "dependencies": {
27    "cross-spawn": "^7.0.0",
28    "signal-exit": "^4.0.1"
29  },
30  "scripts": {
31    "preversion": "npm test",
32    "postversion": "npm publish",
33    "prepublishOnly": "git push origin --follow-tags",
34    "prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh",
35    "pretest": "npm run prepare",
36    "presnap": "npm run prepare",
37    "test": "c8 tap",
38    "snap": "c8 tap",
39    "format": "prettier --write . --loglevel warn",
40    "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
41  },
42  "prettier": {
43    "semi": false,
44    "printWidth": 75,
45    "tabWidth": 2,
46    "useTabs": false,
47    "singleQuote": true,
48    "jsxSingleQuote": false,
49    "bracketSameLine": true,
50    "arrowParens": "avoid",
51    "endOfLine": "lf"
52  },
53  "tap": {
54    "coverage": false,
55    "jobs": 1,
56    "node-arg": [
57      "--no-warnings",
58      "--loader",
59      "ts-node/esm"
60    ],
61    "ts": false
62  },
63  "repository": {
64    "type": "git",
65    "url": "git+https://github.com/tapjs/foreground-child.git"
66  },
67  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
68  "license": "ISC",
69  "devDependencies": {
70    "@types/cross-spawn": "^6.0.2",
71    "@types/node": "^18.15.11",
72    "@types/tap": "^15.0.8",
73    "c8": "^7.13.0",
74    "prettier": "^2.8.6",
75    "tap": "^16.3.4",
76    "ts-node": "^10.9.1",
77    "typedoc": "^0.24.2",
78    "typescript": "^5.0.2"
79  },
80  "funding": {
81    "url": "https://github.com/sponsors/isaacs"
82  }
83}
84