query-registry
Version:
Query the npm registry for packuments, manifests, packages and download counts
95 lines (94 loc) • 2.91 kB
JSON
{
"name": "query-registry",
"description": "Query the npm registry for packuments, manifests, packages and download counts",
"version": "2.6.0",
"author": "Edoardo Scibona (velut)",
"license": "MIT",
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/query-registry.esm.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/query-registry.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": {
"isomorphic-unfetch": "^3.1.0",
"make-error": "^1.3.6",
"tiny-lru": "^8.0.2",
"url-join": "4.0.1",
"validate-npm-package-name": "^4.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@pollyjs/adapter-node-http": "6.0.5",
"@pollyjs/core": "6.0.5",
"@pollyjs/persister-fs": "6.0.5",
"@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/url-join": "4.0.1",
"@types/validate-npm-package-name": "4.0.0",
"debug": "4.3.4",
"dts-cli": "1.5.2",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
"nock": "13.2.9",
"np": "7.6.2",
"prettier": "2.7.1",
"setup-polly-jest": "0.11.0",
"ts-jest": "28.0.7",
"tslib": "2.4.0",
"typescript": "4.7.4"
}
}