|
1 | 1 | { |
2 | 2 | "name": "common-ancestor-path", |
3 | | - "version": "1.0.1", |
| 3 | + "version": "2.0.0", |
4 | 4 | "files": [ |
5 | | - "index.js" |
| 5 | + "dist" |
6 | 6 | ], |
7 | 7 | "description": "Find the common ancestor of 2 or more paths on Windows or Unix", |
8 | 8 | "repository": { |
9 | 9 | "type": "git", |
10 | | - "url": "git+https://github.com/isaacs/common-ancestor-path" |
| 10 | + "url": "git@github.com:isaacs/common-ancestor-path" |
11 | 11 | }, |
12 | 12 | "author": "Isaac Z. Schlueter <[email protected]> (https://izs.me)", |
13 | | - "license": "ISC", |
| 13 | + "license": "BlueOak-1.0.0", |
14 | 14 | "scripts": { |
15 | | - "test": "tap", |
16 | | - "snap": "tap", |
17 | 15 | "preversion": "npm test", |
18 | 16 | "postversion": "npm publish", |
19 | | - "prepublishOnly": "git push origin --follow-tags" |
20 | | - }, |
21 | | - "tap": { |
22 | | - "check-coverage": true |
| 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 --cache", |
| 24 | + "typedoc": "typedoc" |
23 | 25 | }, |
24 | 26 | "devDependencies": { |
| 27 | + "@types/node": "^24.10.1", |
| 28 | + "prettier": "^3.6.2", |
25 | 29 | "require-inject": "^1.4.4", |
26 | | - "tap": "^14.10.7" |
| 30 | + "tap": "^21.1.6", |
| 31 | + "tshy": "^3.1.0", |
| 32 | + "typedoc": "^0.28.14" |
| 33 | + }, |
| 34 | + "type": "module", |
| 35 | + "tshy": { |
| 36 | + "exports": { |
| 37 | + "./package.json": "./package.json", |
| 38 | + ".": "./src/index.ts" |
| 39 | + } |
| 40 | + }, |
| 41 | + "exports": { |
| 42 | + "./package.json": "./package.json", |
| 43 | + ".": { |
| 44 | + "import": { |
| 45 | + "types": "./dist/esm/index.d.ts", |
| 46 | + "default": "./dist/esm/index.js" |
| 47 | + }, |
| 48 | + "require": { |
| 49 | + "types": "./dist/commonjs/index.d.ts", |
| 50 | + "default": "./dist/commonjs/index.js" |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "main": "./dist/commonjs/index.js", |
| 55 | + "types": "./dist/commonjs/index.d.ts", |
| 56 | + "module": "./dist/esm/index.js", |
| 57 | + "engines": { |
| 58 | + "node": ">= 18" |
27 | 59 | } |
28 | 60 | } |
0 commit comments