-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.66 KB
/
package.json
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
{
"name": "@diplodoc/search-extension",
"version": "1.1.5",
"description": "Lunr based offline search extension for Diplodoc platform",
"main": "./lib/provider/index.js",
"types": "./lib/indexer/index.d.ts",
"scripts": {
"build": "npm run build:clean && npm run build:code",
"build:code": "node esbuild/build.mjs && tsc --emitDeclarationOnly -p tsconfig.publish.json",
"build:clean": "rm -rf lib",
"prepublishOnly": "npm run build",
"test": "npm run build && jest",
"typecheck": "tsc --noEmit",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky"
},
"exports": {
"./indexer": {
"types": "./lib/indexer/index.d.ts",
"default": "./lib/indexer/index.js"
},
"./worker": "./lib/worker/index.js",
"./worker/langs": {
"types": "./lib/worker/langs/index.d.ts",
"default": "./lib/worker/langs/index.js"
},
"./worker/langs/*": "./lib/worker/langs/*.js"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@diplodoc/client": "^3.0.2",
"@diplodoc/components": "^4.13.0",
"@diplodoc/lint": "^1.1.3",
"@diplodoc/tsconfig": "^1.0.2",
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
"@types/jest": "^29.5.13",
"@types/lunr": "^2.3.7",
"esbuild": "^0.23.1",
"esbuild-jest": "^0.5.0",
"jest": "^29.7.0",
"ts-dedent": "^2.2.0",
"typescript": "^5.6.2"
},
"dependencies": {
"lunr": "^2.3.9",
"lunr-languages": "^1.14.0",
"node-html-parser": "^6.1.13"
},
"peerDependencies": {
"@diplodoc/client": "^3.0.2",
"@diplodoc/components": "^4.11.2"
}
}