UNPKG

bidirectional-resolve

Version:

Resolve a package entry point to a file path (like require.resolve/import.meta.resolve) OR a file path to a package entry point

95 lines (94 loc) 3.21 kB
{ "name": "bidirectional-resolve", "version": "2.0.2", "description": "Resolve a package entry point to a file path (like require.resolve/import.meta.resolve) OR a file path to a package entry point", "keywords": [ "inverse", "reverse", "bidirectional", "enhanced", "advanced", "resolve", "require", "import", "node", "module", "package", "cjs" ], "homepage": "https://github.com/Xunnamius/project-utils/tree/main/packages/bidirectional-resolve#readme", "bugs": { "url": "https://github.com/Xunnamius/project-utils/issues" }, "repository": { "type": "git", "url": "git+https://github.com/Xunnamius/project-utils.git" }, "license": "MIT", "author": "Xunnamius", "sideEffects": false, "type": "commonjs", "exports": { ".": { "types": "./dist/packages/bidirectional-resolve/src/index.d.ts", "default": "./dist/packages/bidirectional-resolve/src/index.js" }, "./package": "./package.json", "./package.json": "./package.json" }, "typesVersions": { "*": { "index": [ "dist/packages/bidirectional-resolve/src/index.d.ts" ], "package": [ "package.json" ] } }, "files": [ "/dist", "/LICENSE", "/package.json", "/README.md" ], "scripts": { "build": "npm run build:dist --", "build:changelog": "symbiote build changelog --env NODE_NO_WARNINGS=1", "build:dist": "symbiote build distributables --env NODE_NO_WARNINGS=1 --not-multiversal", "build:docs": "symbiote build docs --env NODE_NO_WARNINGS=1", "clean": "symbiote clean --env NODE_NO_WARNINGS=1", "format": "symbiote format --env NODE_NO_WARNINGS=1 --hush", "info": "symbiote project info --env NODE_NO_WARNINGS=1", "lint": "npm run lint:package --", "lint:package": "symbiote lint --env NODE_NO_WARNINGS=1 --hush", "lint:packages": "symbiote lint --env NODE_NO_WARNINGS=1 --hush --scope unlimited", "lint:project": "symbiote project lint --env NODE_NO_WARNINGS=1", "list-tasks": "symbiote list-tasks --env NODE_NO_WARNINGS=1 --scope this-package", "release": "symbiote release --env NODE_NO_WARNINGS=1", "start": "symbiote start --env NODE_NO_WARNINGS=1 --", "test": "npm run test:package:unit --", "test:package:all": "symbiote test --env NODE_NO_WARNINGS=1 --tests all-local --coverage", "test:package:e2e": "symbiote test --env NODE_NO_WARNINGS=1 --tests e2e-local", "test:package:integration": "symbiote test --env NODE_NO_WARNINGS=1 --tests integration", "test:package:unit": "symbiote test --env NODE_NO_WARNINGS=1 --tests unit type", "test:packages:all": "symbiote test --env NODE_NO_WARNINGS=1 --tests all-local --scope unlimited --coverage" }, "dependencies": { "core-js": "^3.44.0", "escape-string-regexp~4": "npm:escape-string-regexp@^4.0.0", "type-fest": "^4.41.0" }, "devDependencies": { "@-xun/common-dummies": "^2.1.1", "@-xun/project-types": "^2.0.1", "toss-expression": "^0.1.2" }, "engines": { "node": "^20.18.0 || ^22.12.0 || >=23.3.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" } }