UNPKG

2.91 kBJSONView Raw
1{
2 "name": "query-registry",
3 "description": "Query the npm registry for packuments, manifests, packages and download counts",
4 "version": "2.6.0",
5 "author": "Edoardo Scibona (velut)",
6 "license": "MIT",
7 "source": "./src/index.ts",
8 "main": "./dist/index.js",
9 "module": "./dist/query-registry.esm.js",
10 "types": "./dist/index.d.ts",
11 "sideEffects": false,
12 "exports": {
13 ".": {
14 "require": "./dist/index.js",
15 "import": "./dist/query-registry.esm.js",
16 "default": "./dist/index.js"
17 },
18 "./package.json": "./package.json"
19 },
20 "files": [
21 "src",
22 "dist"
23 ],
24 "engines": {
25 "node": ">=12"
26 },
27 "scripts": {
28 "start": "dts watch --target node",
29 "build:check": "tsc --noEmit",
30 "build": "tsc --noEmit && dts build --target node",
31 "test": "dts test --runInBand",
32 "test:cov": "dts test --runInBand --coverage",
33 "test:watch": "dts test --runInBand --watchAll --coverage",
34 "test:ci": "dts test --runInBand --ci --coverage",
35 "lint": "dts lint src test",
36 "lint:fix": "dts lint src test --fix",
37 "prepare": "husky install && dts build --target node",
38 "pre-push": "yarn && yarn lint && yarn build && yarn test:cov",
39 "release": "np"
40 },
41 "repository": {
42 "type": "git",
43 "url": "https://github.com/velut/node-query-registry.git"
44 },
45 "bugs": {
46 "url": "https://github.com/velut/node-query-registry/issues"
47 },
48 "keywords": [
49 "query",
50 "registry",
51 "npm",
52 "client",
53 "api",
54 "packument",
55 "package",
56 "downloads",
57 "search",
58 "manifest",
59 "typescript"
60 ],
61 "dependencies": {
62 "isomorphic-unfetch": "^3.1.0",
63 "make-error": "^1.3.6",
64 "tiny-lru": "^8.0.2",
65 "url-join": "4.0.1",
66 "validate-npm-package-name": "^4.0.0"
67 },
68 "devDependencies": {
69 "@commitlint/cli": "17.0.3",
70 "@commitlint/config-conventional": "17.0.3",
71 "@pollyjs/adapter-node-http": "6.0.5",
72 "@pollyjs/core": "6.0.5",
73 "@pollyjs/persister-fs": "6.0.5",
74 "@types/debug": "4.1.7",
75 "@types/git-url-parse": "9.0.1",
76 "@types/pollyjs__adapter-node-http": "2.0.1",
77 "@types/pollyjs__core": "4.3.3",
78 "@types/pollyjs__persister-fs": "2.0.1",
79 "@types/setup-polly-jest": "0.5.1",
80 "@types/url-join": "4.0.1",
81 "@types/validate-npm-package-name": "4.0.0",
82 "debug": "4.3.4",
83 "dts-cli": "1.5.2",
84 "eslint-plugin-prettier": "4.2.1",
85 "husky": "8.0.1",
86 "nock": "13.2.9",
87 "np": "7.6.2",
88 "prettier": "2.7.1",
89 "setup-polly-jest": "0.11.0",
90 "ts-jest": "28.0.7",
91 "tslib": "2.4.0",
92 "typescript": "4.7.4"
93 }
94}