UNPKG

1.83 kBJSONView Raw
1{
2 "name": "query-registry",
3 "version": "4.0.0",
4 "description": "Query the npm registry for packuments, manifests, packages and download counts",
5 "license": "MIT",
6 "author": {
7 "name": "Edoardo Scibona",
8 "url": "https://github.com/velut"
9 },
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/velut/query-registry.git"
13 },
14 "bugs": {
15 "url": "https://github.com/velut/query-registry/issues"
16 },
17 "keywords": [
18 "query",
19 "registry",
20 "npm",
21 "client",
22 "api",
23 "packument",
24 "package",
25 "downloads",
26 "search",
27 "manifest",
28 "typescript"
29 ],
30 "sideEffects": false,
31 "type": "module",
32 "types": "./dist/index.d.ts",
33 "exports": {
34 ".": {
35 "types": "./dist/index.d.ts",
36 "import": "./dist/index.js"
37 },
38 "./package.json": "./package.json"
39 },
40 "files": [
41 "dist"
42 ],
43 "engines": {
44 "node": ">=20"
45 },
46 "scripts": {
47 "check": "tsc --noEmit",
48 "build": "tsc --noEmit && tsup",
49 "attw": "attw --pack . --ignore-rules cjs-resolves-to-esm",
50 "test": "vitest",
51 "test:update-data": "bun run scripts/update-test-data.ts",
52 "test:ci": "vitest run --coverage --bail 1",
53 "lint": "prettier --check .",
54 "format": "prettier --write .",
55 "pre-push": "bun install && bun run lint && bun run build && bun run test:ci && bun run attw",
56 "release": "np --no-cleanup"
57 },
58 "dependencies": {
59 "query-string": "^9.1.1",
60 "quick-lru": "^7.0.0",
61 "url-join": "^5.0.0",
62 "validate-npm-package-name": "^6.0.0",
63 "zod": "^3.24.1",
64 "zod-package-json": "^1.1.0"
65 },
66 "devDependencies": {
67 "@arethetypeswrong/cli": "^0.17.3",
68 "@types/bun": "^1.1.17",
69 "@types/node": "^22.10.7",
70 "@types/validate-npm-package-name": "^4.0.2",
71 "@vitest/coverage-v8": "^3.0.2",
72 "fflate": "^0.8.2",
73 "np": "^10.1.0",
74 "prettier": "^3.4.2",
75 "tsup": "^8.3.5",
76 "typescript": "^5.7.3",
77 "vitest": "^3.0.2"
78 }
79}