{ "name": "has-package-exports", "dist-tags": { "latest": "1.3.0" }, "versions": { "1.3.0": { "name": "has-package-exports", "version": "1.3.0", "description": "Does the current node version have support for the \"exports\" field in package.json?", "main": "no", "browser": { "no": "./browser.js", "yes": "./browser.js" }, "exports": { ".": [ { "browser": "./browser.js", "default": "./yes.js" }, "./yes.js" ], "./conditional": [ { "browser": "./browser.js", "import": "./yes.js", "require": "./yes.js", "node": "./yes.js", "default": "./no.js" }, "./no.js" ], "./pattern": "./pattern.js", "./pattern-trailers": "./pattern-trailers.js" }, "scripts": { "prepublish": "!(type safe-publish-latest 2>&1 >/dev/null) || not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "lint": "eslint --ext=js,mjs .", "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", "posttest": "aud --production || true", "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/inspect-js/has-package-exports.git" }, "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "bugs": { "url": "https://github.com/inspect-js/has-package-exports/issues" }, "dependencies": { "@ljharb/has-package-exports-patterns": "^0.0.2" }, "devDependencies": { "@ljharb/eslint-config": "^20.2.3", "aud": "^2.0.0", "auto-changelog": "^2.4.0", "eslint": "=8.8.0", "has-package-exports": "file:.", "nyc": "^10.3.2", "safe-publish-latest": "^2.0.0", "semver": "^6.3.0", "tape": "^5.5.2" }, "greenkeeper": { "ignore": [ "semver" ] }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "gitHead": "10ed49bdd97180c96cd0a24c72e5acf67c6995af", "_id": "has-package-exports@1.3.0", "_nodeVersion": "17.8.0", "_npmVersion": "8.3.1", "dist": { "integrity": "sha512-e9OeXPQnmPhYoJ63lXC4wWe34TxEGZDZ3OQX9XRqp2VwsfLl3bQBy7VehLnd34g3ef8CmYlBLGqEMKXuz8YazQ==", "shasum": "68ee0892a1616893b7e6daed46b74ffdb5079ed6", "tarball": "http://localhost:4260/has-package-exports/has-package-exports-1.3.0.tgz", "fileCount": 13, "unpackedSize": 19477 }, "directories": {}, "_hasShrinkwrap": false } }, "description": "Does the current node version have support for the \"exports\" field in package.json?", "homepage": "https://github.com/inspect-js/has-package-exports#readme", "repository": { "type": "git", "url": "git+https://github.com/inspect-js/has-package-exports.git" }, "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "bugs": { "url": "https://github.com/inspect-js/has-package-exports/issues" }, "license": "MIT", "readmeFilename": "README.md" }