-
Notifications
You must be signed in to change notification settings - Fork 79
/
package.json
41 lines (41 loc) · 1.13 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
{
"name": "kwitter-api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"engines": {
"node": ">=8.3.0"
},
"dependencies": {
"bcrypt": "^3.0.6",
"cors": "^2.8.5",
"dotenv-safe": "^6.1.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.9.1",
"multer": "^1.4.2",
"openapi-enforcer": "^1.4.4",
"openapi-enforcer-middleware": "^1.1.5",
"openapi-enforcer-multer": "0.0.1",
"passport": "^0.4.0",
"passport-google-oauth": "^2.0.0",
"passport-jwt": "^4.0.0",
"pg": "^6.4.2",
"sequelize": "^5.15.1",
"sequelize-cli": "^4.1.1",
"statuses": "^1.5.0",
"swagger-ui-express": "^4.0.7",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "0.0.9-4.0.0-beta3",
"nodemon": "^1.19.1"
},
"scripts": {
"start": "node index.js",
"watch": "nodemon",
"postinstall": "npm run migrate:up",
"migrate:up": "if [ -e .env ]; then . ./.env; fi && sequelize db:migrate --url $DATABASE_URL",
"migrate:down": "if [ -e .env ]; then . ./.env; fi && sequelize db:migrate:undo --url $DATABASE_URL"
}
}