identify-monorepo-root
Version:
Find the root directory of any given monorepo (works with npm, yarn, pnpm, turbo, etc.)
57 lines (56 loc) • 1.42 kB
JSON
{
"name": "identify-monorepo-root",
"version": "1.0.9",
"description": "Find the root directory of any given monorepo (works with npm, yarn, pnpm, turbo, etc.)",
"main": "build/index.js",
"types": "build/index.d.ts",
"bin": {
"identify-monorepo-root": "build/cli.js"
},
"scripts": {
"clear-build-folder": "rm -rf ./build",
"transpile": "tsc",
"fix-paths": "tsc-alias",
"make-cli-executable": "chmod +x ./build/cli.js",
"build": "yarn clear-build-folder && yarn transpile && yarn fix-paths && yarn make-cli-executable",
"dev": "yarn nodemon",
"test": "jest"
},
"keywords": [
"monorepo",
"mono repo",
"npm",
"yarn",
"pnpm",
"workspaces",
"turborepo",
"turbo",
"cli",
"command line"
],
"files": [
"build"
],
"repository": {
"type": "git",
"url": "git+https://github.com/maks-io/identify-monorepo-root.git"
},
"author": "Markus Kurzmann <markus@kurzmann.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/maks-io/identify-monorepo-root/issues"
},
"homepage": "https://github.com/maks-io/identify-monorepo-root#readme",
"dependencies": {
"minimist": "^1.2.8",
"who-am-i-now": "^2.1.1"
},
"devDependencies": {
"@types/node": "^22.10.1",
"nodemon": "^3.1.7",
"prettier": "^3.4.1",
"tsc": "^2.0.4",
"tsc-alias": "^1.8.10",
"typescript": "^5.7.2"
}
}