1{
2  "name": "walk-up-path",
3  "version": "3.0.1",
4  "files": [
5    "dist"
6  ],
7  "main": "./dist/cjs/index.js",
8  "module": "./dist/mjs/index.js",
9  "types": "./dist/mjs/index.d.ts",
10  "exports": {
11    ".": {
12      "require": {
13        "types": "./dist/cjs/index.d.ts",
14        "default": "./dist/cjs/index.js"
15      },
16      "import": {
17        "types": "./dist/mjs/index.d.ts",
18        "default": "./dist/mjs/index.js"
19      }
20    }
21  },
22  "description": "Given a path string, return a generator that walks up the path, emitting each dirname.",
23  "repository": {
24    "type": "git",
25    "url": "git+https://github.com/isaacs/walk-up-path"
26  },
27  "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
28  "license": "ISC",
29  "scripts": {
30    "preversion": "npm test",
31    "postversion": "npm publish",
32    "prepublishOnly": "git push origin --follow-tags",
33    "prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh",
34    "pretest": "npm run prepare",
35    "presnap": "npm run prepare",
36    "test": "c8 tap",
37    "snap": "c8 tap",
38    "format": "prettier --write . --loglevel warn",
39    "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
40  },
41  "prettier": {
42    "semi": false,
43    "printWidth": 75,
44    "tabWidth": 2,
45    "useTabs": false,
46    "singleQuote": true,
47    "jsxSingleQuote": false,
48    "bracketSameLine": true,
49    "arrowParens": "avoid",
50    "endOfLine": "lf"
51  },
52  "tap": {
53    "coverage": false,
54    "node-arg": [
55      "--no-warnings",
56      "--loader",
57      "ts-node/esm"
58    ],
59    "ts": false
60  },
61  "devDependencies": {
62    "@types/node": "^18.15.5",
63    "@types/tap": "^15.0.8",
64    "c8": "^7.13.0",
65    "eslint-config-prettier": "^8.8.0",
66    "prettier": "^2.8.6",
67    "tap": "^16.3.4",
68    "ts-node": "^10.9.1",
69    "typedoc": "^0.23.28",
70    "typescript": "^5.0.2"
71  }
72}
73