forked from fengkx/NodeRSSBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.45 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
{
"name": "noderssbot",
"version": "0.6.1",
"description": "Another Telegram RSSBot in Node.js",
"main": "dist/source",
"scripts": {
"build": "del-cli dist && tsc && cpy source/database/sql dist/source/database/sql && cpy source/template dist/source/template && cpy i18n dist/i18n",
"start": "cross-env NODE_PRODUTION=true node dist/source/index.js",
"start-withsnapshot": "cross-env NODE_PRODUTION=true node --heapsnapshot-signal=SIGUSR2 dist/source/index.js",
"dev": "node dist/source/index",
"test": "cross-env RSSBOT_DB_PATH=test/test-data/test.db npx jest --verbose",
"format": "eslint \"source/**/*.{js,ts}\" --fix && prettier \"**/*.{js,ts,json,md}\" --write",
"lint": "eslint \"source/**/*.{js,ts}\" && prettier-check \"**/*.{js,ts,json,md}\" && npm run lint-lockfile",
"lint-lockfile": "npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https"
},
"pre-commit": [
"lint",
"test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fengkx/NodeRSSBot.git"
},
"keywords": [
"Telegram"
],
"author": "fengkx",
"license": "MIT",
"bugs": {
"url": "https://github.com/fengkx/NodeRSSBot/issues"
},
"homepage": "https://github.com/fengkx/NodeRSSBot#readme",
"dependencies": {
"better-sqlite-pool": "^0.3.0",
"cross-env": "^7.0.2",
"ejs": "^3.1.3",
"escape-goat": "^3.0.0",
"got-iconv": "^2.1.0",
"js-yaml": "^3.14.0",
"node-schedule": "^1.3.2",
"p-map": "^4.0.0",
"rss-parser": "^3.8.0",
"socks-proxy-agent": "^5.0.0",
"telegraf": "^3.38.0",
"tunnel": "0.0.6",
"winston": "^3.2.1",
"winston-daily-rotate-file": "^4.4.2",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@types/better-sqlite3": "^5.4.0",
"@types/charset": "^1.0.1",
"@types/ejs": "^3.0.4",
"@types/jest": "^26.0.0",
"@types/js-yaml": "^3.12.4",
"@types/lodash.pick": "^4.4.6",
"@types/node-schedule": "^1.3.0",
"@types/tunnel": "0.0.1",
"@types/xml2js": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"cpy-cli": "^3.1.1",
"del-cli": "^3.0.1",
"eslint": "^6.8.0",
"jest": "^25.5.4",
"lockfile-lint": "^4.3.6",
"nock": "^12.0.3",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5",
"prettier-check": "^2.0.0",
"ts-jest": "^25.5.1",
"typescript": "^3.9.5"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts"
}
}