-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 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
64
65
66
67
68
69
{
"name": "cool-updown",
"version": "0.4.0",
"description": "Script to enable scheduled server start/stop",
"main": "src/coolupdown",
"dependencies": {
"app-root-dir": "^1.0.2",
"axios": "^1.7.4",
"config": "^3.1.0",
"cron": "^1.7.1",
"date-fns": "^1.30.1",
"express": "^4.21.2",
"express-basic-auth": "^1.2.0",
"lodash": "^4.17.21",
"node-ssh": "^13.1.0",
"shelljs": "^0.8.5",
"wake_on_lan": "^1.0.0",
"winston": "^2.4.5"
},
"devDependencies": {
"@types/app-root-dir": "^0.1.1",
"@types/config": "^3.3.0",
"@types/cron": "^2.0.1",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.194",
"@types/node-ssh": "^7.0.1",
"@types/wake_on_lan": "^0.0.30",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.38.0",
"jest": "^29.5.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"scripts": {
"install": "npm run build",
"build": "npx rimraf ./build;tsc --project ./tsconfig.production.json",
"start": "node ./build/coolupdown.js",
"start:dev": "ts-node src/coolupdown.ts",
"start:service": "nohup npm start >/dev/null 2>&1 &",
"start:service-debug": "mkdir -p ./logs && nohup npm start >>./logs/debug.log 2>&1 &",
"stop": "pkill --signal SIGINT cool-updown",
"logs": "tail -500f logs/app.log",
"logs:all": "less logs/app.log",
"lint": "eslint ./src",
"test": "export NODE_ENV=test && jest",
"test:watch": "export NODE_ENV=test && jest --watch src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/djey47/cool-updown.git"
},
"keywords": [
"nodejs",
"updown",
"cron",
"wol",
"ssh"
],
"author": "djey",
"license": "MIT",
"bugs": {
"url": "https://github.com/djey47/cool-updown/issues"
},
"homepage": "https://github.com/djey47/cool-updown#readme"
}