semrel-extra/topo

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@semrel-extra/topo",
  "version": "1.14.1",
  "description": "Helpers to assist monorepo dependencies traversals",
  "publishConfig": {
    "access": "public"
  },
  "main": "./target/cjs/index.cjs",
  "types": "./target/dts/index.d.ts",
  "type": "module",
  "exports": {
    "types": "./target/dts/index.d.ts",
    "require": "./target/cjs/index.cjs",
    "import": "./target/esm/index.mjs",
    "module": "./target/esm/index.mjs",
    "default": "./target/esm/index.mjs"
  },
  "scripts": {
    "build": "concurrently 'npm:build:*'",
    "build:esm": "node ./src/scripts/build.cjs",
    "build:cjs": "node ./src/scripts/build.cjs --cjs",
    "build:dts": "tsc --emitDeclarationOnly --skipLibCheck --outDir target/dts",
    "test": "concurrently 'npm:test:*'",
    "test:unit": "c8 -r html -r text -r lcov loadr -- uvu './src/test/' -i fixturess",
    "test:lint": "prettier --write src",
    "postupdate": "yarn && yarn build && yarn test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/semrel-extra/topo.git"
  },
  "files": [
    "target",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "keywords": [
    "topo",
    "graph",
    "monorepo"
  ],
  "author": "Anton Golub <antongolub@antongolub.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/semrel-extra/topo/issues"
  },
  "homepage": "https://github.com/semrel-extra/topo#readme",
  "dependencies": {
    "fast-glob": "^3.3.2",
    "js-yaml": "^4.1.0",
    "toposource": "^1.2.0"
  },
  "devDependencies": {
    "@types/js-yaml": "^4.0.9",
    "@types/micromatch": "^4.0.6",
    "@types/node": "^20.10.5",
    "c8": "^8.0.1",
    "esbuild": "^0.21.0",
    "esbuild-node-externals": "^1.11.0",
    "loadr": "^0.1.1",
    "micromatch": "^4.0.5",
    "prettier": "^3.1.1",
    "tsm": "^2.3.0",
    "typescript": "^5.3.3",
    "uvu": "^0.5.6",
    "concurrently": "^8.2.2"
  },
  "prettier": {
    "arrowParens": "avoid",
    "quoteProps": "consistent",
    "semi": false,
    "singleQuote": true,
    "trailingComma": "none"
  }
}