npm
Version:
a package manager for JavaScript
61 lines (60 loc) • 1.49 kB
JSON
{
"name": "common-ancestor-path",
"version": "2.0.0",
"files": [
"dist"
],
"description": "Find the common ancestor of 2 or more paths on Windows or Unix",
"repository": {
"type": "git",
"url": "git@github.com:isaacs/common-ancestor-path"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"license": "BlueOak-1.0.0",
"scripts": {
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"prepare": "tshy",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "tap",
"snap": "tap",
"format": "prettier --write . --log-level warn --cache",
"typedoc": "typedoc"
},
"devDependencies": {
"@types/node": "^24.10.1",
"prettier": "^3.6.2",
"require-inject": "^1.4.4",
"tap": "^21.1.6",
"tshy": "^3.1.0",
"typedoc": "^0.28.14"
},
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"engines": {
"node": ">= 18"
}
}