-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
49 lines (49 loc) · 1.36 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
{
"name": "tw-stock-telegram-bot",
"version": "1.0.0",
"description": "Telegram bot to query real-time TW stock quotes, charts, news, and other related information.",
"main": "index.js",
"scripts": {
"build": "docker build --no-cache -t tw-stock-telegram-bot .",
"start": "docker run -it --rm tw-stock-telegram-bot",
"dev": "babel-node index.js",
"dev:watch": "nodemon",
"prettier:check": "prettier --check './**/*.{js,json}' && echo \"✅ Prettier validated\"",
"prettier:write": "prettier --write './**/*.{js,json}'",
"lint": "eslint './**/*.js'",
"lint:fix": "eslint './**/*.js' --fix",
"test": "jest --coverage"
},
"author": "YY",
"license": "MIT",
"dependencies": {
"cheerio": "^1.0.0-rc.3",
"isomorphic-fetch": "^2.2.1",
"node-telegram-bot-api": "^0.50.0",
"puppeteer": "^5.2.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"eslint": "^7.8.1",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.3.0",
"nodemon": "^2.0.4",
"prettier": "^2.1.1"
},
"lint-staged": {
"*.js": [
"npm run prettier:check",
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
}
}