-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.78 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
{
"name": "soa-dashboard",
"version": "1.0.0",
"license": "MIT",
"bin": "server.js",
"dependencies": {
"@koa/cors": "^3.4.1",
"activedirectory2": "^2.1.0",
"adm-zip": "^0.5.9",
"axios": "^1.0.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-router": "^12.0.0",
"koa-send": "^5.0.1",
"ldapjs": "^2.3.3",
"moment": "^2.29.4",
"ramda": "^0.28.0"
},
"scripts": {
"backup:config": "node backupConfig.js",
"start:auth": "node server.js",
"start:file": "node backend-jobs/server.js",
"start:frontend": "cd frontend && npm run start",
"start": "npm-run-all --parallel start:frontend start:auth ncc:server:file --print-label",
"ncc:server:auth": "ncc run server.js",
"ncc:server:file": "ncc run backend-jobs/server",
"ncc:build": "ncc build server.js -o dist/auth && ncc build backend-jobs/server.js -o dist/jobs",
"build": "cd frontend && npm run build",
"prepkg:server:dashboard": "npm run build",
"pkg:server:dashboard": "pkg . --target node10-win-x64 --output esb-dashboard.exe --debug > output-dashboard-win-pkg.log",
"pkg:server:file": "pkg ./backend-jobs/server.js --options max_old_space_size=4096 --target node10-win-x64 --output esb-jobs.exe --debug > output-jobs-windows-pkg.log",
"pkg:all": "npm run pkg:server:dashboard && npm run pkg:server:file",
"build:all": "npm run backup:config && npm run pkg:all && npm run ncc:build",
"postbuild:all": "cpy ./dist/auth/index.js ./frontend/build --rename=auth.js",
"release-it": "cd frontend && npm run release-it && git push --follow-tags"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0",
"cpy-cli": "^4.2.0",
"npm-run-all": "^4.1.5",
"pkg": "^5.8.0"
},
"pkg": {
"assets": [
"frontend/build/**/*"
]
}
}