-
Notifications
You must be signed in to change notification settings - Fork 149
/
package.json
executable file
·84 lines (84 loc) · 2.74 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "search-index",
"version": "5.1.3",
"description": "A network resilient, persistent full-text search library for the browser and Node.js",
"keywords": [
"search",
"elasticsearch",
"elastic",
"lunr.js",
"flexsearch",
"norch",
"solr"
],
"engines": {
"node": ">=12"
},
"main": "src/entrypoints/classiclevel.js",
"browser": "src/entrypoints/browserlevel.js",
"files": [
"dist",
"src"
],
"directories": {
"lib": "src"
},
"prettier": "./.prettierrc.json",
"type": "module",
"scripts": {
"build": "npm run generateVersionModule && npm run empty-sandbox && rm -rf ./dist/* && webpack && cp dist/search-index-$npm_package_version.js dist/search-index.js",
"empty-sandbox": "rm -rf fii && rm -rf test/sandbox && mkdir test/sandbox",
"generateVersionModule": "echo export const packageVersion = \\\"${npm_package_version}\\\" > src/version.js",
"format-code": "npm run prettyify && npm run lint",
"lint": "standard --fix *.js test/src/* src/*",
"prettyify": "prettier --config .prettierrc.json src/*.js test/src/*.js --write",
"symlink-for-test": "cd node_modules && ln -sf ../../search-index && cd ..",
"test": "npm run format-code && npm run test-node && npm run test-browser",
"test-browser": "npm run symlink-for-test && npm run build && cat test/sandbox/browser-tests.js | tape-run",
"test-node": "npm run symlink-for-test && npm run empty-sandbox && tape test/src/*-test.js",
"toc": "doctoc docs/API.md --title '# API Documentation for search-index' && doctoc docs/FAQ.md --title '# FAQ'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fergiemcdowall/search-index.git"
},
"author": "Fergus McDowall",
"license": "MIT",
"bugs": {
"url": "https://github.com/fergiemcdowall/search-index/issues"
},
"homepage": "https://fergiemcdowall.github.io/search-index/",
"devDependencies": {
"assert": "^2.0.0",
"doctoc": "2.2.1",
"fuzzyset": "1.0.5",
"level-out": "^1.0.1",
"level-read-stream": "^1.1.0",
"memory-level": "^1.0.0",
"open-cli": "8.0.0",
"os-browserify": "^0.3.0",
"path": "^0.12.7",
"path-browserify": "^1.0.1",
"prettier": "^2.8.8",
"process": "^0.11.10",
"standard": "17.1.0",
"stemmer": "2.0.1",
"stopword": "2.0.8",
"stream-browserify": "^3.0.0",
"tape": "5.8.1",
"tape-run": "^11.0.0",
"webpack": "5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"world-bank-dataset": "^1.0.0"
},
"dependencies": {
"browser-level": "^1.0.1",
"classic-level": "^1.4.1",
"fergies-inverted-index": "^13.1.1",
"lru-cache": "11.0.0",
"ngraminator": "3.0.2",
"p-queue": "8.0.1",
"term-vector": "^1.0.0"
}
}