UNPKG

ls-engines

Version:

Determine if your dependency graph's stated "engines" criteria is met.

90 lines (89 loc) 2.45 kB
{ "name": "ls-engines", "version": "0.10.1", "description": "Determine if your dependency graph's stated \"engines\" criteria is met.", "bin": "./bin.mjs", "exports": { "./package.json": "./package.json" }, "imports": { "#*": "./*.js" }, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "lint": "eslint .", "postlint": "tsc && attw -P", "pretest": "npm run lint", "tests-only": "NODE_NO_WARNINGS=1 NODE_OPTIONS='--require=./test/mocks' nyc tape 'test/*.js'", "test": "npm run tests-only", "posttest": "npx npm@\">= 10.2\" audit --production", "test:update-mocks": "curl -L https://nodejs.org/dist/index.json -o test/mocks/node-versions.json", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git", "url": "git+https://github.com/ljharb/ls-engines.git" }, "keywords": [ "engines", "npm", "node", "node_modules" ], "author": "Jordan Harband <ljharb@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/ljharb/ls-engines/issues" }, "homepage": "https://github.com/ljharb/ls-engines#readme", "engines": { "node": "^22.21 || ^24.12 || >= 25.2", "npm": ">=8" }, "dependencies": { "fast_array_intersect": "^1.1.0", "get-dep-tree": "^3.0.0", "get-json": "^1.1.0", "json-file-plus": "^4.0.1", "pargs": "^1.4.2", "semver": "^7.8.5", "table": "^6.9.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.3", "@ljharb/eslint-config": "^22.2.3", "@ljharb/tsconfig": "^0.3.2", "@types/node": "^22.19.21", "@types/object-inspect": "^1.13.0", "@types/semver": "^7.7.1", "auto-changelog": "^2.6.0", "encoding": "^0.1.13", "es-value-fixtures": "^1.7.1", "eslint": "^10.5.0", "npmignore": "^0.3.5", "nyc": "^17.1.0", "object-inspect": "^1.13.4", "safe-publish-latest": "^2.0.0", "tape": "^5.10.2", "typescript": "next" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false }, "publishConfig": { "ignore": [ ".github/workflows", ".nycrc", "eslint.config.mjs", "test", "types" ] } }