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?

68 lines (67 loc) 1.64 kB
{ "name": "ls-exports", "version": "1.1.1", "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", "main": false, "exports": { "./package.json": "./package.json" }, "scripts": { "prepublish": "not-in-publish || (safe-publish-latest && cp ../../LICENSE ./)", "lint": "eslint . 'bin/**'", "pretest": "npm run lint", "test": ">&2 echo tests are ran in the monorepo only", "posttest": "npx aud --production" }, "repository": { "type": "git", "url": "git+https://github.com/ljharb/list-exports.git", "directory": "./packages/ls-exports" }, "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": { "colors": "=1.4.0", "json-colorizer": "^2.2.2", "list-exports": "^1.1.0", "npm-package-arg": "^8.1.5", "object.fromentries": "^2.0.6", "object.values": "^1.1.6", "pacote": "^11.3.5", "strip-ansi": "^6.0.1", "table": "^6.8.1", "tmp": "^0.2.1", "tree-walk": "^0.4.0", "yargs": "^16.2.0" }, "devDependencies": { "@ljharb/eslint-config": "^21.0.1", "aud": "^2.0.2", "eslint": "=8.8.0", "in-publish": "^2.0.1", "ls-engines": "^0.9.0", "safe-publish-latest": "^2.0.0" }, "engines": { "node": ">= 12 || ^10.17" } }