identify-monorepo-root
Version:
Find the root directory of a monorepo from anywhere inside it.
90 lines (89 loc) • 2.46 kB
JSON
{
"name": "identify-monorepo-root",
"version": "1.1.0",
"description": "Find the root directory of a monorepo from anywhere inside it.",
"keywords": [
"monorepo",
"npm",
"yarn",
"pnpm",
"workspaces",
"turbo",
"turborepo",
"cli"
],
"license": "MIT",
"author": "Markus Kurzmann <markus@kurzmann.io>",
"homepage": "https://github.com/maks-io/identify-monorepo-root#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/maks-io/identify-monorepo-root.git"
},
"bugs": {
"url": "https://github.com/maks-io/identify-monorepo-root/issues"
},
"type": "commonjs",
"main": "build/index.js",
"types": "build/index.d.ts",
"bin": {
"identify-monorepo-root": "build/cli.js"
},
"files": [
"build"
],
"engines": {
"node": ">=18"
},
"packageManager": "npm@11.12.1",
"scripts": {
"clean": "rimraf ./build ./coverage",
"transpile": "tsc -p tsconfig.json",
"build": "npm run clean && npm run transpile && node ./scripts/make-cli-executable.cjs",
"dev": "nodemon",
"verify": "npm run build && npm test",
"prepare": "husky",
"test": "jest --runInBand",
"test:watch": "jest --watch",
"commit": "node ./scripts/commit.cjs",
"commitlint": "commitlint --from=HEAD~1 --to=HEAD",
"commitlint:edit": "commitlint --edit",
"release:core": "semantic-release",
"release:dry-run:core": "semantic-release --dry-run --no-ci",
"release:dry-run": "node ./scripts/release-runner.cjs --dry-run",
"release": "node ./scripts/release-runner.cjs"
},
"dependencies": {
"minimist": "^1.2.8"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/github": "^12.0.6",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/jest": "^30.0.0",
"@types/minimist": "^1.2.5",
"@types/node": "^25.5.2",
"husky": "^9.1.7",
"jest": "^30.3.0",
"nodemon": "^3.1.14",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"ts-jest": "^29.4.9",
"typescript": "^6.0.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/*.test.ts"
],
"clearMocks": true,
"restoreMocks": true
}
}