UNPKG

ls-exports

Version:

CLI for `list-exports`: Given a package name and a version number, or a path to a package.json, what specifiers does it expose?

88 lines (87 loc) 2.1 kB
{ "name": "ls-exports", "version": "2.0.2", "description": "CLI for `list-exports`: Given a package name and a version number, or a path to a package.json, what specifiers does it expose?", "bin": "./bin/ls-exports.mjs", "main": false, "exports": { "./package.json": "./package.json" }, "sideEffects": false, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || (safe-publish-latest && cp ../../LICENSE ./)", "lint": "eslint .", "postlint": "evalmd README.md", "pretest": "npm run lint", "test": ">&2 echo tests are ran in the monorepo only", "posttest": "npx npm@'>=10.2' audit --production", "version": "node ../../release.mjs" }, "repository": { "type": "git", "url": "git+https://github.com/ljharb/list-exports.git", "directory": "./packages/ls-exports" }, "directories": { "test": false }, "keywords": [ "exports", "cjs", "esm", "module", "commonjs", "es", "export", "entrypoint", "resolve" ], "author": "Jordan Harband <ljharb@gmail.com>", "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "bugs": { "url": "https://github.com/ljharb/list-exports/issues" }, "homepage": "https://github.com/ljharb/list-exports#readme", "dependencies": { "json-colorizer": "^3.0.1", "list-exports": "^2.1.0", "npm-package-arg": "^13.0.2", "pacote": "^21.0.4", "pargs": "^1.2.2", "table": "^6.9.0", "tmp": "^0.2.5" }, "devDependencies": { "@ljharb/eslint-config": "^22.1.3", "auto-changelog": "^2.5.0", "encoding": "^0.1.13", "eslint": "^9.39.2", "in-publish": "^2.0.1", "jiti": "^0.0.0", "ls-engines": "^0.10.0", "npmignore": "^0.3.5", "safe-publish-latest": "^2.0.0" }, "engines": { "node": "^22.22 || ^24.13 || >=25.3" }, "publishConfig": { "ignore": [ "eslint.config.mjs" ] }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true, "appendGitLog": ".", "tagPrefix": "ls-exports@" } }