-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
94 lines (94 loc) · 3.84 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
85
86
87
88
89
90
91
92
93
94
{
"name": "typesense-instantsearch-adapter",
"version": "2.9.0-6",
"description": "Adapter to use InstantSearch UI widgets with Typesense Search",
"homepage": "https://github.com/typesense/typesense-instantsearch-adapter",
"main": "lib/TypesenseInstantsearchAdapter.js",
"types": "index.d.ts",
"files": [
"dist/",
"lib/",
"src/",
"scripts/",
"index.d.ts"
],
"keywords": [
"typesense",
"sdk",
"client",
"search",
"instantsearch.js",
"vue-instantsearch",
"react-instantsearch",
"angular-instantsearch",
"instant search",
"algolia",
"adapter",
"search client",
"search ui",
"search ui widgets",
"instantsearch"
],
"scripts": {
"pretest": "npm run lint && npm run test:type",
"postinstall": "node scripts/postinstall.js",
"lint": "eslint --fix . && prettier --write .",
"test": "jest --maxWorkers=1 --verbose",
"build:lib": "babel src -d lib --source-maps",
"build:dist": "webpack",
"test:type": "tsd",
"build": "npm run build:lib && npm run build:dist",
"typesenseServer": "docker run -i -p 8108:8108 -v`pwd`/typesense-server-data/:/data typesense/typesense:27.1 --data-dir /data --api-key=xyz --listen-port 8108 --enable-cors",
"createServerNodesFile": "echo '172.17.0.2:8107:8108,172.17.0.3:7107:7108,172.17.0.4:9107:9108' > `pwd`/typesense-server-nodes",
"typesenseServer:0": "docker run -i -p 8108:8108 -p 8107:8107 -v/tmp/typesense-server-data-node-1/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:0.19.0 --data-dir /data --api-key=xyz --listen-port 8108 --peering-port 8107 --enable-cors --nodes=/typesense-server-nodes",
"typesenseServer:1": "docker run -i -p 7108:7108 -p 7107:7107 -v/tmp/.typesense-server-data-node-2/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:0.19.0 --data-dir /data --api-key=xyz --listen-port 7108 --peering-port 7107 --enable-cors --nodes=/typesense-server-nodes",
"typesenseServer:2": "docker run -i -p 9108:9108 -p 9107:9107 -v/tmp/.typesense-server-data-node-3/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:0.19.0 --data-dir /data --api-key=xyz --listen-port 9108 --peering-port 9107 --enable-cors --nodes=/typesense-server-nodes",
"testground": "yarn link && cd test/support/testground && yarn link typesense-instantsearch-adapter && yarn install && yarn start",
"indexTestData": "node test/support/populateProductsIndex.js && node test/support/populateBrandsIndex.js && node test/support/populateRecipesIndex.js && node test/support/populateAirportsIndex.js"
},
"author": {
"name": "Typesense, Inc.",
"email": "[email protected]",
"url": "https://typesense.org"
},
"license": "Apache-2.0",
"repository": "typesense/typesense-instantsearch-adapter",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"expect-puppeteer": "^10.0.0",
"fs-extra": "^11.2.0",
"jest": "^29.7.0",
"jest-dev-server": "^10.0.0",
"jest-junit": "^16.0.0",
"jest-puppeteer": "^10.0.1",
"lodash.clonedeep": "^4.5.0",
"prettier": "^3.2.5",
"puppeteer": "^22.6.1",
"tsd": "^0.30.7",
"typescript": "^4.6.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"typesense": "^1.8.2"
},
"peerDependencies": {
"@babel/runtime": "^7.24.1"
},
"engines": {
"node": ">=18"
}
}