UNPKG

import-local-file

Version:

Let a globally installed package use a locally installed version of itself if available

69 lines (68 loc) 1.21 kB
{ "name": "import-local-file", "version": "0.2.0", "description": "Let a globally installed package use a locally installed version of itself if available", "license": "MIT", "repository": "sindresorhus/import-local", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bin": { "import-local-file-fixture": "fixtures/cli.js" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && jest" }, "files": [ "index.js", "fixtures/cli.js" ], "keywords": [ "import", "local", "require", "resolve", "global", "version", "prefer", "cli" ], "dependencies": { "pkg-dir": "^2.0.0", "resolve-cwd": "^2.0.0" }, "devDependencies": { "babel-preset-env": "^1.4.0", "cpy": "^5.0.0", "del": "^2.2.2", "execa": "^0.6.3", "jest": "^20.0.0", "xo": "*" }, "xo": { "envs": [ "jest" ] }, "babel": { "env": { "test": { "presets": [ [ "env", { "targets": { "node": "current" } } ] ] } } } }