UNPKG

query-registry

Version:

Query the npm registry for packuments, manifests, packages and download counts

93 lines (92 loc) 2.84 kB
{ "name": "query-registry", "description": "Query the npm registry for packuments, manifests, packages and download counts", "version": "2.2.0", "author": "Edoardo Scibona (velut)", "license": "MIT", "source": "./src/index.ts", "main": "./dist/index.js", "module": "./dist/index.esm.js", "types": "./dist/index.d.ts", "sideEffects": false, "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "files": [ "src", "dist" ], "engines": { "node": ">=12" }, "scripts": { "start": "dts watch --target node", "build:check": "tsc --noEmit", "build": "tsc --noEmit && dts build --target node", "test": "dts test --runInBand", "test:cov": "dts test --runInBand --coverage", "test:watch": "dts test --runInBand --watchAll --coverage", "test:ci": "dts test --runInBand --ci --coverage", "lint": "dts lint src test", "lint:fix": "dts lint src test --fix", "prepare": "husky install && dts build --target node", "pre-push": "yarn && yarn lint && yarn build && yarn test:cov", "release": "np" }, "repository": { "type": "git", "url": "https://github.com/velut/node-query-registry.git" }, "bugs": { "url": "https://github.com/velut/node-query-registry/issues" }, "keywords": [ "query", "registry", "npm", "client", "api", "packument", "package", "downloads", "search", "manifest", "typescript" ], "dependencies": { "git-url-parse": "^11.4.4", "isomorphic-unfetch": "^3.1.0", "make-error": "^1.3.6", "tiny-lru": "^7.0.6", "validate-npm-package-name": "^3.0.0" }, "devDependencies": { "@commitlint/cli": "15.0.0", "@commitlint/config-conventional": "15.0.0", "@pollyjs/adapter-node-http": "6.0.0", "@pollyjs/core": "6.0.0", "@pollyjs/persister-fs": "6.0.0", "@types/debug": "4.1.7", "@types/git-url-parse": "9.0.1", "@types/pollyjs__adapter-node-http": "2.0.1", "@types/pollyjs__core": "4.3.3", "@types/pollyjs__persister-fs": "2.0.1", "@types/setup-polly-jest": "0.5.1", "@types/validate-npm-package-name": "3.0.3", "debug": "4.3.3", "dts-cli": "0.20.0", "eslint-plugin-prettier": "4.0.0", "husky": "7.0.4", "nock": "13.2.1", "np": "7.6.0", "prettier": "2.5.0", "setup-polly-jest": "0.10.0", "tslib": "2.3.1", "typescript": "4.5.2" } }