-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
61 lines (61 loc) · 2.05 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
{
"name": "prescare",
"version": "1.0.0",
"description": "PresCare",
"main": "index.js",
"scripts": {
"start": "node app.js",
"test": "npx jest test/",
"test:watch": "npx jest --watchAll test/",
"lint": "npx eslint src/ test/ seed.js settings.js app.js auth.js database.js logger.js",
"dev": "npx nodemon app.js",
"db:start": "docker run --rm --name prescare-database -p 5432:5432 -e POSTGRES_PASSWORD=prescare -d postgres",
"db:create": "docker exec -it prescare-database psql -U postgres -c 'CREATE DATABASE prescare' ",
"db:console": "docker exec -it prescare-database psql -U postgres -d prescare",
"db:reset": "npm run db:stop; sleep 3; npm run db:start; sleep 3; npm run db:create",
"db:stop": "docker stop prescare-database",
"db:seed": "npm run db:reset && node seed.js",
"compose:db:restore": "docker-compose exec database /backup/restore.sh",
"compose:db:console": "docker-compose exec database psql -U postgres -d prescare"
},
"repository": {
"type": "git",
"url": "https://github.com/aceleradora-TW/prescare"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/aceleradora-TW/prescare"
},
"homepage": "https://github.com/aceleradora-TW/prescare/blob/master/README.md",
"dependencies": {
"bcrypt-nodejs": "latest",
"body-parser": "^1.19.0",
"connect-flash": "~0.1.1",
"cookie-parser": "^1.4.5",
"ejs": "^2.7.4",
"express": "^4.17.1",
"express-ejs-layouts": "^2.5.0",
"express-session": "^1.17.1",
"express-winston": "~2.6.0",
"html-to-pdf": "^0.1.11",
"method-override": "~2.3.6",
"moment": "^2.29.1",
"morgan": "^1.10.0",
"passport": "^0.4.1",
"passport-facebook": "~2.1.1",
"passport-google-oauth": "~1.0.0",
"passport-local": "~1.0.0",
"passport-twitter": "~1.0.4",
"pg": "^8.2.1",
"sequelize": "^5.21.10",
"winston": "^2.4.5"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-plugin-jest": "^21.27.2",
"jest": "^23.6.0",
"nodemon": "^1.19.4",
"npx": "^10.2.2"
}
}