@yarn-tool/resolve-package
Version:
resolve package root and package.json paths , work on node 17 too
75 lines (74 loc) • 2.1 kB
JSON
{
"name": "@yarn-tool/resolve-package",
"version": "2.0.12",
"description": "resolve package root and package.json paths , work on node 17 too",
"keywords": [
"resolve",
"package",
"json",
"root",
"npm",
"entry",
"find",
"up",
"find-up",
"findup",
"look-up",
"look",
"file",
"search",
"match",
"parent",
"parents",
"folder",
"directory",
"walk",
"walking",
"path"
],
"homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/resolve-package#readme",
"bugs": {
"url": "https://github.com/bluelovers/ws-yarn-workspaces/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluelovers/ws-yarn-workspaces.git",
"directory": "packages/@yarn-tool/resolve-package"
},
"license": "ISC",
"author": "",
"main": "index.js",
"scripts": {
"coverage": "npx nyc yarn run test",
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"prepublish:lockfile": "npx sync-lockfile .",
"prepublishOnly": "echo prepublishOnly",
"postpublish_": "git commit -m \"chore(release): publish\" .",
"ncu": "npx yarn-tool ncu -u",
"sort-package-json": "npx yarn-tool sort",
"tsc:default": "tsc -p tsconfig.json",
"tsc:esm": "tsc -p tsconfig.esm.json",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"pkg-dir": "<6 >=5",
"tslib": ">=2",
"upath2": "^3.1.19"
},
"devDependencies": {
"@ts-type/package-dts": "^2.0.8"
},
"publishConfig": {
"access": "public"
},
"gitHead": "089606f66f3c5501a8f3fdfc42e5a85b57f4d0e9"
}