-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.23 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
{
"dependencies": {
"@fabio286/ssh2-promise": "github:Fabio286/ssh2-promise",
"@inquirer/prompts": "^3.3.2",
"@types/level": "^6.0.3",
"@types/ssh2-streams": "^0.1.10",
"as-table": "^1.0.55",
"bcryptjs": "^2.4.3",
"clear": "^0.1.0",
"cli-progress": "^3.12.0",
"colors": "^1.4.0",
"cross-env": "^7.0.3",
"csvtojson": "^2.0.10",
"express": "^4.18.2",
"inquirer": "^8.2.6",
"json-2-csv": "^5.0.1",
"keccak256": "^1.0.6",
"ldapjs": "^3.0.7",
"ldapjs-promise": "^3.0.6",
"level": "^8.0.0",
"lockfile": "^1.0.4",
"node-machine-id": "^1.1.12",
"random-seed": "^0.3.0",
"sha512crypt-node": "^1.0.2",
"single-instance": "^0.0.1",
"ssh-keygen-lite": "^1.3.0",
"ssh2": "^1.14.0",
"ssh2-streams": "^0.4.10",
"temp": "^0.9.4"
},
"name": "tortilla",
"version": "1.0.0",
"main": "Tortilla.js",
"bin": "dist/Tortilla.js",
"devDependencies": {
"@types/bcryptjs": "^2.4.4",
"@types/bn.js": "^5.1.2",
"@types/chai": "^4.3.8",
"@types/clear": "^0.1.2",
"@types/cli-progress": "^3.11.5",
"@types/express": "^4.17.21",
"@types/inquirer": "^9.0.4",
"@types/ldapjs": "^3.0.5",
"@types/lockfile": "^1.0.3",
"@types/mocha": "^10.0.2",
"@types/node": "^18.7.14",
"@types/random-seed": "^0.3.3",
"@types/ssh2": "^1.11.14",
"@types/temp": "^0.9.4",
"chai": "^4.3.10",
"dotenv": "^16.4.5",
"mocha": "^9.2.2",
"pkg": "^5.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"scripts": {
"test": "mocha -r ts-node/register --timeout 10000 --exit test/**/*.spec.ts",
"test_integration": "mocha -r ts-node/register --timeout 45000 --exit tests/**/*.spec.ts ",
"start": "tsc && cross-env DEV=true node --inspect --trace-warnings ./dist/src/Tortilla.js",
"start_linux": "tsc && cross-env DEV=true node --inspect --trace-warnings ./dist/Tortilla.js",
"build_linux": "export SALT=$(node -e \"const crypto = require('crypto'); console.log(crypto.randomBytes(256).toString('hex'));\") && export SALT_2=$(node -e \"const crypto = require('crypto'); console.log(crypto.randomBytes(256).toString('hex'));\") && node ./build/prebuild.js $SALT $SALT_2 && tsc && pkg --out-path releases/latest/arm -t \"node16-linux-arm64,node16-win-arm64,node16-macos-arm64\" -C Gzip -c package.json ./dist/Tortilla.js && node ./build/postbuild.js $SALT $SALT_2 && echo 'Binaries are located in releases/latest' ",
"build-win": "powershell ./build/build.ps1",
"clean": "rm index-linux && rm index-macos && rm index-win.exe"
},
"pkg": {
"name": "Tortilla",
"scripts": "./src/**/*.js",
"targets": [
"node16-win-x64",
"node16-linux-x64",
"node16-macos-x64",
"node16-linux",
"node16-win",
"node16-macos"
],
"outputPath": "releases",
"assets": [
"node_modules/classic-level/prebuilds"
]
},
"author": "",
"license": "ISC",
"description": ""
}