1 | {
|
2 | "name": "query-registry",
|
3 | "description": "Query the npm registry for packuments, manifests, packages and download counts",
|
4 | "version": "2.0.0",
|
5 | "author": "velut",
|
6 | "license": "MIT",
|
7 | "source": "./src/index.ts",
|
8 | "main": "./dist/index.js",
|
9 | "module": "./dist/index.esm.js",
|
10 | "types": "./dist/index.d.ts",
|
11 | "exports": {
|
12 | ".": {
|
13 | "require": "./dist/index.js",
|
14 | "import": "./dist/index.esm.js",
|
15 | "default": "./dist/index.js"
|
16 | },
|
17 | "./package.json": "./package.json"
|
18 | },
|
19 | "sideEffects": false,
|
20 | "files": [
|
21 | "dist",
|
22 | "src"
|
23 | ],
|
24 | "engines": {
|
25 | "node": ">=12"
|
26 | },
|
27 | "scripts": {
|
28 | "start": "tsdx watch --target node",
|
29 | "build:check": "tsc --noEmit",
|
30 | "build": "tsc --noEmit && tsdx build --target node",
|
31 | "test": "tsdx test --runInBand",
|
32 | "test:cov": "tsdx test --runInBand --coverage",
|
33 | "test:watch": "tsdx test --runInBand --watchAll --coverage",
|
34 | "test:ci": "tsdx test --runInBand --ci --coverage",
|
35 | "lint": "tsdx lint src test",
|
36 | "lint:fix": "tsdx lint src test --fix",
|
37 | "prepare": "tsdx 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 | "husky": {
|
62 | "hooks": {
|
63 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
64 | "pre-commit": "yarn lint",
|
65 | "pre-push": "yarn pre-push"
|
66 | }
|
67 | },
|
68 | "prettier": {
|
69 | "printWidth": 80,
|
70 | "tabWidth": 4,
|
71 | "semi": true,
|
72 | "singleQuote": true,
|
73 | "trailingComma": "es5",
|
74 | "arrowParens": "always"
|
75 | },
|
76 | "np": {
|
77 | "branch": "main"
|
78 | },
|
79 | "dependencies": {
|
80 | "debug": "^4.1.1",
|
81 | "git-url-parse": "^11.4.4",
|
82 | "isomorphic-unfetch": "^3.1.0",
|
83 | "make-error": "^1.3.6",
|
84 | "tiny-lru": "^7.0.6",
|
85 | "validate-npm-package-name": "^3.0.0"
|
86 | },
|
87 | "devDependencies": {
|
88 | "@commitlint/cli": "12.0.1",
|
89 | "@commitlint/config-conventional": "12.0.1",
|
90 | "@pollyjs/adapter-node-http": "5.1.0",
|
91 | "@pollyjs/core": "5.1.0",
|
92 | "@pollyjs/persister-fs": "5.0.0",
|
93 | "@types/debug": "4.1.5",
|
94 | "@types/git-url-parse": "9.0.0",
|
95 | "@types/pollyjs__adapter-node-http": "2.0.1",
|
96 | "@types/pollyjs__core": "4.3.2",
|
97 | "@types/pollyjs__persister-fs": "2.0.1",
|
98 | "@types/setup-polly-jest": "0.5.1",
|
99 | "@types/validate-npm-package-name": "3.0.2",
|
100 | "eslint-plugin-prettier": "3.3.1",
|
101 | "husky": "4.3.8",
|
102 | "nock": "13.0.11",
|
103 | "np": "7.4.0",
|
104 | "prettier": "2.2.1",
|
105 | "setup-polly-jest": "0.9.1",
|
106 | "tsdx": "0.14.1",
|
107 | "tslib": "2.1.0",
|
108 | "typescript": "4.2.3"
|
109 | },
|
110 | "peerDependencies": {}
|
111 | }
|