Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "node-solr-lambda",
"version": "4.0.0-beta.0",
"description": "A typed Apache Solr client for Node.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vsimko/node-solr-lambda.git"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"docs"
],
"engines": {
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
},
"peerDependencies": {
"zod": "^3.23.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"zod": {
"optional": true
}
},
"scripts": {
"clean": "node -e \"import('node:fs').then(fs => fs.rmSync('dist',{recursive:true,force:true}))\"",
"build": "npm run clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && tsc -p tsconfig.types.json && node scripts/copy-declarations.mjs && node --input-type=module -e \"import {writeFileSync} from 'node:fs'; writeFileSync('dist/esm/package.json', JSON.stringify({type:'module'})); writeFileSync('dist/cjs/package.json', JSON.stringify({type:'commonjs'}))\"",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "tsx --test test/*.test.ts",
"test:integration": "tsx --test test/integration/all.test.ts",
"test:types": "tsc --noEmit -p test/tsconfig.json",
"release:check": "npm run test:api-inventory && npm run docs:check && npm run test:consumer:no-zod && npm pack --dry-run",
"prepublishOnly": "npm run typecheck && npm run test:types && npm test && npm run build && npm run release:check",
"release:publish": "node scripts/publish.mjs",
"test:consumer:no-zod": "node test/no-zod-consumer.mjs",
"test:api-inventory": "node test/api-inventory.mjs",
"docs:check": "node scripts/check-docs.mjs"
},
"devDependencies": {
"@types/node": "^22.15.0",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"zod": "^4.0.0"
},
"homepage": "https://github.com/vsimko/node-solr-lambda#readme",
"bugs": {
"url": "https://github.com/vsimko/node-solr-lambda/issues"
},
"keywords": [
"apache-solr",
"solr",
"search",
"node.js",
"typescript",
"solr-client"
]
}