-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
42 lines (42 loc) · 1.39 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
{
"name": "elastic-search-express",
"version": "0.0.1",
"description": "",
"main": "./dist/src/expressServer.js",
"scripts": {
"build": "npm run-script format && tsc ",
"test": "jest --coverage",
"start": "node ./dist/src/expressServer.js",
"start:all:first": "npm run prebuild && npm run build && npm run load_data && npm run open && npm run start ",
"start:all:again": "npm run prebuild && npm run build && npm run open && npm run start ",
"load_data": "node ./dist/src/loadElaticSearchIndex.js",
"format": "prettier --write ./**/*.ts ",
"copy_files": "cpy ./view/**.* dist/src/view",
"clean": "rimraf dist",
"make_dir": "make-dir dist && make-dir dist/src && make-dir dist/src/view && make-dir dist/src/public",
"prebuild": "npm run clean && npm run make_dir && npm run copy_files",
"open": "start http://localhost:3001"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/body-parser": "^1.19.0",
"@types/express": "^4.17.7",
"@types/jest": "^26.0.5",
"body-parser": "^1.19.0",
"elasticsearch": "^16.7.1",
"express": "^4.17.1",
"jest": "^26.1.0",
"make-dir": "^3.1.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.3"
},
"devDependencies": {
"@types/node": "^14.0.24",
"cpy-cli": "^3.1.1",
"make-dir-cli": "^2.0.0",
"ts-node": "^8.10.2",
"typescript": "^3.9.7"
}
}