UNPKG

1.8 kBJSONView Raw
1{
2 "name": "query-registry",
3 "version": "3.0.1",
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.0.0",
60 "quick-lru": "^7.0.0",
61 "url-join": "^5.0.0",
62 "validate-npm-package-name": "^5.0.1",
63 "zod": "^3.23.8",
64 "zod-package-json": "^1.0.3"
65 },
66 "devDependencies": {
67 "@arethetypeswrong/cli": "^0.15.3",
68 "@types/bun": "^1.1.3",
69 "@types/validate-npm-package-name": "^4.0.2",
70 "@vitest/coverage-v8": "^1.6.0",
71 "fflate": "^0.8.2",
72 "np": "^10.0.5",
73 "prettier": "^3.3.2",
74 "tsup": "^8.1.0",
75 "typescript": "^5.4.5",
76 "vitest": "^1.6.0"
77 }
78}