This repository has been archived by the owner on May 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
81 lines (81 loc) · 2.34 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
78
79
80
81
{
"name": "threadbot",
"version": "0.0.1",
"description": "Thread Bot for Slack",
"main": "dist/index.js",
"author": "Bruno Lemos",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/brunolemos/threadbot.git"
},
"keywords": [
"thread",
"bot",
"slack"
],
"bugs": {
"url": "https://github.com/brunolemos/threadbot/issues"
},
"homepage": "https://github.com/brunolemos/threadbot#readme",
"scripts": {
"build": "npm run build-ts && npm run tslint",
"build-ts": "tsc",
"deploy": "now",
"dev": "npm run build && npm run watch-dev",
"format": "prettier --write '{.,src/**}/*.{js,ts}'",
"precommit": "tsc && lint-staged",
"serve": "micro -l tcp://0.0.0.0:$PORT dist/index.js",
"serve-dev": "micro-dev dist/index.js",
"start": "npm run serve",
"test": "jest --forceExit --coverage --verbose",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"watch-dev": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-dev\"",
"watch-node": "nodemon --exec 'micro' dist/index.js",
"watch-test": "npm run test -- --watchAll",
"watch-ts": "tsc -w"
},
"dependencies": {
"@slack/client": "^4.8.0",
"axios": "^0.18.0",
"body-parser": "^1.18.3",
"micro": "^9.3.3",
"microrouter": "^3.1.3",
"mongoose": "^5.3.12"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/jest": "^23.3.9",
"@types/micro": "^7.3.3",
"@types/microrouter": "^3.1.0",
"@types/mongoose": "^5.3.1",
"@types/node": "^10.12.9",
"concurrently": "^4.0.1",
"husky": "^1.1.4",
"jest": "^23.6.0",
"lint-staged": "^8.0.4",
"micro-dev": "^3.0.0",
"nodemon": "^1.18.6",
"prettier": "^1.15.2",
"ts-jest": "^23.10.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.16.0",
"typescript": "^3.1.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add"
]
},
"heroku-run-build-script": true
}