-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.63 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
57
58
59
60
61
62
63
64
65
{
"name": "site-search",
"description": "A lightweight self-hosted alternative to DocSearch",
"version": "0.0.10",
"dependencies": {
"ajv": "^8.5.0",
"arg": "^5.0.0",
"execa": "^5.0.1",
"jsdom": "^16.6.0",
"lunr": "^2.3.9",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@babel/preset-typescript": "^7.13.0",
"@types/express": "^4.17.12",
"@types/jest": "^26.0.23",
"@types/jsdom": "^16.2.10",
"@types/lunr": "^2.3.3",
"@types/node": "^15.6.1",
"@types/node-fetch": "^2.5.10",
"babel-jest": "^27.0.2",
"express": "^4.17.1",
"jest": "^27.0.4",
"microbundle": "^0.13.1",
"prettier": "^2.3.1",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
},
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.module.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.module.js"
},
"./handler": {
"require": "./dist/handler.js",
"import": "./dist/handler.module.js"
}
},
"files": [
"./bin",
"./dist",
"./handler"
],
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "yarn lint && yarn build && yarn test",
"build": "microbundle --format es,cjs,modern ./*.ts",
"dev": "microbundle watch --no-compress --raw --format es,cjs,modern ./*.ts",
"start": "./bin/cli.js",
"test": "jest",
"ts-node": "ts-node",
"fix": "prettier --write .",
"lint": "prettier --check .",
"tsc": "tsc --noEmit"
},
"bin": {
"site-search": "./bin/cli.js"
},
"peerDependencies": {}
}