UNPKG

@jsbits/get-package-version

Version:

Get the version of the package.json file found in the given directory or in one of its parents.

46 lines (45 loc) 1.06 kB
{ "name": "@jsbits/get-package-version", "version": "1.0.3", "description": "Get the version of the package.json file found in the given directory or in one of its parents.", "license": "MIT", "main": "./index.js", "module": "esm/index.js", "es2015": "index.mjs", "esnext": "index.mjs", "source": "index.ts", "types": "index.d.ts", "engines": { "node": ">=4.2" }, "author": "aMarCruz", "bugs": "https://github.com/ProJSLib/jsbits/issues", "homepage": "https://github.com/ProJSLib/jsbits", "repository": { "type": "git", "url": "https://github.com/ProJSLib/jsbits.git" }, "scripts": { "lint": "eslint --ext js .", "pretest": "tsc", "test": "mocha test/index.spec.ts" }, "devDependencies": { "@types/expect.js": "^0.3.29", "@types/mocha": "^5.2.5", "expect.js": "^0.3.1", "mocha": "^5.2.0", "ts-node": "^7.0.1", "typescript": "~3.2.2" }, "keywords": [ "javascript", "typescript", "es6", "node", "package", "json", "version", "detect" ] }