-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
63 lines (61 loc) · 1.96 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
{
"name": "searchseco-miner",
"version": "1.0.0",
"description": "",
"bin": "dist/main.js",
"main": "main.ts",
"scripts": {
"test": "jest",
"build-win": "npm run build-ts && copyfiles -f .\\src\\config\\.env .\\dist\\config",
"build-unix": "npm run build-ts && cp ./src/config/.env ./dist/config/.env",
"build-ts": "tsc",
"execute": "node --no-warnings --max-old-space-size=8192 dist/main.js",
"update": "git checkout main && git pull origin main && git submodule update --init --recursive --remote",
"lint": "eslint src/**/*.ts",
"format": "eslint src/**/*.ts --fix",
"package-win": "npm run build-win && pkg package.json -t node18-win-x64 -C Gzip",
"package-linux": "npm run build-unix && pkg package.json -t node18-linux -C Gzip",
"package-mac": "npm run build-unix && pkg package.json -t node18-mac-x64 -C Gzip"
},
"pkg": {
"scripts": [
"dist/**/*.js"
],
"assets": [
"dist/config/.env",
".tmp"
],
"outputPath": "build"
},
"author": "Wouter Beffers",
"license": "MIT",
"dependencies": {
"cassandra-driver": "^4.6.4",
"copyfiles": "^2.4.1",
"dotenv": "^16.0.3",
"prompt-sync": "^4.2.0",
"searchseco-crawler": "file:src/modules/searchSECO-crawler",
"searchseco-databaseapi": "file:src/modules/searchSECO-databaseAPI",
"searchseco-logger": "file:src/modules/searchSECO-logger",
"searchseco-parser": "file:src/modules/searchSECO-parser",
"searchseco-spider": "file:src/modules/searchSECO-spider",
"uuid": "^9.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/uuid": "^9.0.1",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"prettier": "^2.8.8"
},
"husky": {
"hooks": {
"pre-commit": "npm run format"
}
}
}