-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
119 lines (119 loc) · 4.44 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "typesense",
"version": "2.0.0-13",
"description": "Javascript Library for Typesense",
"homepage": "https://github.com/typesense/typesense-js",
"author": {
"name": "Typesense, Inc.",
"email": "[email protected]",
"url": "https://typesense.org"
},
"contributors": [
{
"name": "Nick Kamer",
"email": "[email protected]",
"url": "https://github.com/ziao"
},
{
"name": "Damian Cantu",
"email": "[email protected]",
"url": "https://github.com/dcantu476"
}
],
"main": "lib/Typesense.js",
"types": "lib/Typesense.d.ts",
"browser": {
"crypto": false,
"http": false,
"https": false
},
"files": [
"lib/",
"dist/",
"src/"
],
"keywords": [
"typesense",
"api",
"sdk",
"client",
"wrapper",
"server",
"search"
],
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-destructuring": "^7.23.0",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@babel/register": "^7.22.15",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"axios-curlirize": "^2.0.0",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chai": "~4.3.10",
"chai-as-promised": "^7.1.1",
"common-shakeify": "^1.1.2",
"core-js": "^3.33.2",
"del": "^7.1.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"nyc": "^15.1.0",
"prettier": "^3.0.3",
"timekeeper": "^2.3.1",
"ts-loader": "^9.5.0",
"ts-mocha": "^10.0.0",
"tsify": "^5.0.4",
"typescript": "^5.2.2",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"format": "prettier --write \"(src|test|doc)/**/*.(ts|json|js)\"",
"pretest": "eslint .",
"test": "nyc --reporter=html --reporter=text ts-mocha --require @babel/register --recursive",
"build": "npm run build:tsc && npm run build:web:dev && npm run build:web:prod",
"build:tsc": "tsc",
"build:web:dev": "webpack --config webpack.config.js --mode development",
"build:web:prod": "webpack --config webpack.config.js --mode production",
"build:tsc:watch": "tsc --watch",
"ci-lint": "eslint .",
"ci-test": "nyc --reporter=text --reporter=html ts-mocha --require @babel/register --reporter mocha-junit-reporter --recursive --colors",
"typesenseServer": "docker run -i -p 8108:8108 -v/tmp/typesense-server-data-1c/:/data typesense/typesense:27.0.rc26 --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-1b/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:27.0.rc26 --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-2b/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:27.0.rc26 --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-3b/:/data -v`pwd`/typesense-server-nodes:/typesense-server-nodes typesense/typesense:27.0.rc26 --data-dir /data --api-key=xyz --listen-port 9108 --peering-port 9107 --enable-cors --nodes=/typesense-server-nodes"
},
"repository": "typesense/typesense-js",
"license": "Apache-2.0",
"dependencies": {
"axios": "^1.7.2",
"loglevel": "^1.8.1",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@babel/runtime": "^7.23.2"
},
"engines": {
"node": ">=18"
}
}