UNPKG

read-workspaces

Version:

Read all package.json files in a workspace

70 lines (69 loc) 2.22 kB
{ "name": "read-workspaces", "version": "1.2.2", "description": "Read all package.json files in a workspace", "homepage": "http://github.com/voxpelli/read-workspaces", "repository": { "type": "git", "url": "git://github.com/voxpelli/read-workspaces.git" }, "keywords": [], "author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)", "license": "MIT", "engines": { "node": ">=18.6.0" }, "type": "module", "exports": "./index.js", "types": "index.d.ts", "files": [ "/index.js", "/index.d.ts", "/index.d.ts.map" ], "scripts": { "build:0": "run-s clean", "build:1-declaration": "tsc -p declaration.tsconfig.json", "build": "run-s build:*", "check:installed-check": "installed-check -i @voxpelli/eslint-config -i eslint -i @pnpm/workspace.read-manifest", "check:knip": "knip", "check:lint": "eslint --report-unused-disable-directives .", "check:tsc": "tsc", "check:type-coverage": "type-coverage --detail --strict --at-least 99 --ignore-files 'test/*'", "check": "run-s clean && run-p check:*", "clean:declarations-top": "rm -rf $(find . -maxdepth 1 -type f -name '*.d.ts*')", "clean": "run-p clean:*", "prepare": "husky", "prepublishOnly": "run-s build", "test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'", "test-ci": "run-s test:*", "test": "run-s check test:*" }, "dependencies": { "@npmcli/map-workspaces": "^3.0.4", "@pnpm/workspace.read-manifest": "^2.0.0", "read-pkg": "^9.0.1" }, "devDependencies": { "@types/chai": "^4.3.16", "@types/chai-as-promised": "^7.1.8", "@types/mocha": "^10.0.6", "@types/node": "^18.19.34", "@types/npmcli__map-workspaces": "^3.0.4", "@voxpelli/eslint-config": "^20.0.0-alpha8", "@voxpelli/tsconfig": "^12.0.1", "c8": "^10.1.2", "chai": "^4.4.1", "chai-as-promised": "^7.1.2", "desm": "^1.3.1", "eslint": "^9.5.0", "husky": "^9.0.11", "installed-check": "^9.3.0", "knip": "^5.20.0", "mocha": "^10.4.0", "npm-run-all2": "^6.2.0", "type-coverage": "^2.29.0", "typescript": "~5.4.5", "validate-conventional-commit": "^1.0.3" } }