-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
89 lines (89 loc) · 2.08 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
82
83
84
85
86
87
88
89
{
"name": "slack-poll",
"version": "1.0.0",
"private": true,
"license": "MIT",
"scripts": {
"prestart": "yarn migrate",
"start": "node ./bin/www",
"dev": "nodemon index.js",
"test": "jest",
"migrate": "if [ $DATABASE_URL ]; then ./node_modules/.bin/sequelize db:migrate --url $DATABASE_URL --migrations-path db/migrations ; else echo; fi",
"lint": "eslint app/**/*.js --fix",
"format": "prettier app/**/*.js --write"
},
"dependencies": {
"@slack/interactive-messages": "^1.6.0",
"@slack/web-api": "^5.8.1",
"compression": "^1.7.4",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"dotenv": "^8.2.0",
"express": "~4.16.1",
"express-rate-limit": "^5.1.3",
"helmet": "^3.22.0",
"http-errors": "~1.6.3",
"jade": "~1.11.0",
"lodash.groupby": "^4.6.0",
"morgan": "~1.9.1",
"pg": "^8.2.1",
"pg-hstore": "^2.3.3",
"sequelize": "^5.21.9",
"sequelize-cli": "^5.5.1",
"sqlite3": "^4.2.0",
"uuid": "^8.1.0"
},
"engines": {
"node": "12.x"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"setupFiles": [
"./setupTests.js"
],
"setupFilesAfterEnv": [
"./setupTestsAfterEnv.js"
],
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/db/",
"/bin/",
"/serializers/",
"/app.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"faker": "^4.1.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.4",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"sequelize-cli": "^5.5.1",
"supertest": "^4.0.2"
}
}