Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
package.json72 linesDownload Raw Back to walk-up-path
1{
2  "name": "walk-up-path",
3  "version": "4.0.0",
4  "files": [
5    "dist"
6  ],
7  "description": "Given a path string, return a generator that walks up the path, emitting each dirname.",
8  "repository": {
9    "type": "git",
10    "url": "git+https://github.com/isaacs/walk-up-path"
11  },
12  "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
13  "license": "ISC",
14  "scripts": {
15    "preversion": "npm test",
16    "postversion": "npm publish",
17    "prepublishOnly": "git push origin --follow-tags",
18    "prepare": "tshy",
19    "pretest": "npm run prepare",
20    "presnap": "npm run prepare",
21    "test": "tap",
22    "snap": "tap",
23    "format": "prettier --write . --log-level warn",
24    "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
25  },
26  "prettier": {
27    "experimentalTernaries": true,
28    "semi": false,
29    "printWidth": 75,
30    "tabWidth": 2,
31    "useTabs": false,
32    "singleQuote": true,
33    "jsxSingleQuote": false,
34    "bracketSameLine": true,
35    "arrowParens": "avoid",
36    "endOfLine": "lf"
37  },
38  "devDependencies": {
39    "@types/node": "^20.14.10",
40    "prettier": "^3.3.2",
41    "tap": "^20.0.3",
42    "tshy": "^3.0.0",
43    "typedoc": "^0.26.3"
44  },
45  "type": "module",
46  "tshy": {
47    "exports": {
48      "./package.json": "./package.json",
49      ".": "./src/index.ts"
50    }
51  },
52  "exports": {
53    "./package.json": "./package.json",
54    ".": {
55      "import": {
56        "types": "./dist/esm/index.d.ts",
57        "default": "./dist/esm/index.js"
58      },
59      "require": {
60        "types": "./dist/commonjs/index.d.ts",
61        "default": "./dist/commonjs/index.js"
62      }
63    }
64  },
65  "main": "./dist/commonjs/index.js",
66  "types": "./dist/commonjs/index.d.ts",
67  "module": "./dist/esm/index.js",
68  "engines": {
69    "node": "20 || >=22"
70  }
71}
72