84 lines
2.1 KiB
JSON
84 lines
2.1 KiB
JSON
{
|
|
"name": "resolve",
|
|
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
|
|
"version": "2.0.0-next.5",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/browserify/resolve.git"
|
|
},
|
|
"bin": {
|
|
"resolve": "./bin/resolve"
|
|
},
|
|
"main": "index.js",
|
|
"exports": {
|
|
".": [
|
|
{
|
|
"import": "./index.mjs",
|
|
"default": "./index.js"
|
|
},
|
|
"./index.js"
|
|
],
|
|
"./sync": "./lib/sync.js",
|
|
"./async": "./lib/async.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"keywords": [
|
|
"resolve",
|
|
"require",
|
|
"node",
|
|
"module"
|
|
],
|
|
"scripts": {
|
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
"prepublishOnly": "safe-publish-latest",
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
|
|
"lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",
|
|
"pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
|
|
"tests-only": "tape test/*.js",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run --silent tests-only",
|
|
"posttest": "npm run test:multirepo && aud --production",
|
|
"test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
|
|
},
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^21.1.0",
|
|
"array.prototype.map": "^1.0.6",
|
|
"aud": "^2.0.3",
|
|
"copy-dir": "^1.3.0",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "=8.8.0",
|
|
"in-publish": "^2.0.1",
|
|
"mkdirp": "^0.5.5",
|
|
"mv": "^2.1.1",
|
|
"npmignore": "^0.3.0",
|
|
"object-keys": "^1.1.1",
|
|
"rimraf": "^2.7.1",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"tap": "^0.4.13",
|
|
"tape": "^5.7.0",
|
|
"tmp": "^0.0.31"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "James Halliday",
|
|
"email": "mail@substack.net",
|
|
"url": "http://substack.net"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
},
|
|
"dependencies": {
|
|
"is-core-module": "^2.13.0",
|
|
"path-parse": "^1.0.7",
|
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"ignore": [
|
|
".github/workflows",
|
|
"appveyor.yml",
|
|
"test/resolver/malformed_package_json"
|
|
]
|
|
}
|
|
}
|