UNPKG

get-npm-package-version

Version:
53 lines (52 loc) 1.31 kB
{ "name": "get-npm-package-version", "version": "1.1.1", "description": "get npm package version", "main": "index.js", "scripts": { "lint": "eslint index.js test/*", "lint:fix": "npm run lint -- --fix", "test": "npm run lint && npm run test:unit && npm run test:tsd", "test:unit": "nyc --reporter=html --reporter=lcov --reporter=text mocha './test/*'", "test:tsd": "tsd", "coverage": "cat ./coverage/lcov.info | coveralls" }, "keywords": [ "npm", "package", "version" ], "files": [ "index.js", "index.d.ts", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/hoperyy/get-npm-package-version.git" }, "license": "ISC", "bugs": { "url": "https://github.com/hoperyy/get-npm-package-version/issues" }, "devDependencies": { "chai": "^4.3.4", "coveralls": "^3.1.0", "eslint": "^7.22.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-mocha": "^8.1.0", "mocha": "^8.3.2", "nyc": "^15.1.0", "tsd": "^0.14.0" }, "engines": { "node": ">=10" }, "homepage": "https://github.com/hoperyy/get-npm-package-version", "author": "https://github.com/hoperyy", "volta": { "node": "14.16.1" } }