-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.67 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.67 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
{
"name": "norch",
"version": "1.0.1",
"description": "A search engine based on Node.js and LevelDB",
"main": "./src/main",
"files": [
"bin/*",
"defaultConfig.json",
"src/*",
"www_root/*"
],
"dependencies": {
"@highlightjs/cdn-assets": "^11.11.1",
"commander": "^12.1.0",
"figlet": "^1.7.0",
"mime": "^2.5.2",
"search-index": "6.0.1",
"server-destroy": "^1.0.1"
},
"devDependencies": {
"level-out": "^1.0.1",
"standard": "^17.1.0",
"stopword": "^3.1.1",
"swagger-jsdoc": "^6.2.8",
"tape": "^5.8.1"
},
"repository": {
"type": "git",
"url": "https://github.com/fergiemcdowall/norch.git"
},
"homepage": "https://github.com/fergiemcdowall/norch",
"keywords": [
"free text",
"search",
"server"
],
"bin": {
"norch": "./bin/norch"
},
"maintainers": [
"fergiemcdowall <fergusmcdowall@gmail.com>"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build-openapi-docs": "rm www_root/openapi/openapi-norch* && node build/mirrorUnpkg.js && node build/openAPIDoc.js && ln -s openapi-norch-${npm_package_version}.json www_root/openapi/openapi-norch.json",
"generateVersionModule": "echo export const packageVersion = \\\"${npm_package_version}\\\" > src/version.js",
"lint": "standard --fix src build test",
"test": "npm run generateVersionModule && npm run lint && export SANDBOX=test/sandbox && rm -rf $SANDBOX && mkdir $SANDBOX && date && tape test/*-test.js && npm run build-openapi-docs",
"test-cli": "./bin/norch -p 9090 -i test/sandbox/norch-cli & sleep 5s && bats test/test.bats && kill $!",
"start": "./bin/norch"
},
"type": "module",
"license": "MIT"
}