add cron
Showing
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| "main": "build/fetcher.js", | "main": "build/fetcher.js", | ||
| "scripts": { | "scripts": { | ||
| "build": "./node_modules/.bin/tsc", | "build": "./node_modules/.bin/tsc", | ||
| "fetch": "node build/src/run.js" | "fetch": "node build/src/run.js", | ||
| "start": "node build/src/run.js cron" | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -21,10 +22,12 @@ | ... | @@ -21,10 +22,12 @@ |
| }, | }, | ||
| "homepage": "https://github.com/purerosefallen/tx3-bang-reader#readme", | "homepage": "https://github.com/purerosefallen/tx3-bang-reader#readme", | ||
| "dependencies": { | "dependencies": { | ||
| "@types/cron": "^1.7.2", | |||
| "@types/node": "^14.0.14", | "@types/node": "^14.0.14", | ||
| "@types/underscore": "^1.10.2", | "@types/underscore": "^1.10.2", | ||
| "@types/yaml": "^1.9.7", | "@types/yaml": "^1.9.7", | ||
| "axios": "^0.19.2", | "axios": "^0.19.2", | ||
| "cron": "^1.8.2", | |||
| "moment": "^2.27.0", | "moment": "^2.27.0", | ||
| "mysql-promise": "^5.0.0", | "mysql-promise": "^5.0.0", | ||
| "posthtml-parser": "^0.4.2", | "posthtml-parser": "^0.4.2", | ||
| ... | ... |
Please register or sign in to comment