UNPKG

2.95 kBJSONView Raw
1{
2 "name": "query-registry",
3 "description": "Query the npm registry for packuments, manifests, packages and download counts",
4 "version": "2.5.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 "git-url-parse": "^11.6.0",
63 "isomorphic-unfetch": "^3.1.0",
64 "make-error": "^1.3.6",
65 "tiny-lru": "^8.0.2",
66 "url-join": "4.0.1",
67 "validate-npm-package-name": "^4.0.0"
68 },
69 "devDependencies": {
70 "@commitlint/cli": "17.0.1",
71 "@commitlint/config-conventional": "17.0.0",
72 "@pollyjs/adapter-node-http": "6.0.5",
73 "@pollyjs/core": "6.0.5",
74 "@pollyjs/persister-fs": "6.0.5",
75 "@types/debug": "4.1.7",
76 "@types/git-url-parse": "9.0.1",
77 "@types/pollyjs__adapter-node-http": "2.0.1",
78 "@types/pollyjs__core": "4.3.3",
79 "@types/pollyjs__persister-fs": "2.0.1",
80 "@types/setup-polly-jest": "0.5.1",
81 "@types/url-join": "4.0.1",
82 "@types/validate-npm-package-name": "3.0.3",
83 "debug": "4.3.4",
84 "dts-cli": "1.5.1",
85 "eslint-plugin-prettier": "4.0.0",
86 "husky": "8.0.1",
87 "nock": "13.2.4",
88 "np": "7.6.1",
89 "prettier": "2.6.2",
90 "setup-polly-jest": "0.10.0",
91 "ts-jest": "28.0.3",
92 "tslib": "2.4.0",
93 "typescript": "4.7.2"
94 }
95}