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