57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "resolve",
|
|
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
|
|
"version": "1.21.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/browserify/resolve.git"
|
|
},
|
|
"bin": {
|
|
"resolve": "./bin/resolve"
|
|
},
|
|
"main": "index.js",
|
|
"keywords": [
|
|
"resolve",
|
|
"require",
|
|
"node",
|
|
"module"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
|
|
"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": "^20.1.0",
|
|
"array.prototype.map": "^1.0.4",
|
|
"aud": "^1.1.5",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "^8.6.0",
|
|
"in-publish": "^2.0.1",
|
|
"object-keys": "^1.1.1",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"tap": "0.4.13",
|
|
"tape": "^5.4.0"
|
|
},
|
|
"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.8.0",
|
|
"path-parse": "^1.0.7",
|
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
}
|
|
}
|