-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.96 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.96 KB
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
{
"name": "projet-02-playground-explorer-back",
"version": "1.0.0",
"description": "projet-02-playground-explorer-back",
"main": "index.js",
"type": "module",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"db:drop": "psql -U postgres -d postgres -c \"SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'playground' AND pid <> pg_backend_pid();\" && psql -U postgres -c \"DROP DATABASE IF EXISTS playground;\"",
"db:create": "psql -U postgres -c \"CREATE DATABASE playground OWNER postgres;\" && psql -U postgres -d playground -f app/db/create-db.sql",
"db:reset": "npm run db:drop && npm run db:create",
"db:seed": "psql -U postgres -d playground -f app/db/seeding.sql",
"create:admin": "psql -U postgres -d playground -f app/db/create-admin.sql",
"deploy": "git push heroku deploy:master --force",
"lint": "eslint .",
"test": "mocha --require @babel/register './__tests__/*.test.js'",
"swagger": "node ./docs/swagger.js",
"dev:swagger": "npm run swagger && npm run dev"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.6.8",
"bcrypt": "^5.1.1",
"connect-mongo": "^5.1.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"ejs": "^3.1.9",
"express": "^4.19.2",
"express-rate-limit": "^7.2.0",
"express-session": "^1.18.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.3.1",
"morgan": "^1.10.0",
"node-fetch": "^3.3.2",
"nodemon": "^3.1.0",
"pg": "^8.11.3",
"sequelize": "^6.37.1",
"swagger-ui-express": "^5.0.0",
"winston": "^3.13.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/register": "^7.23.7",
"@faker-js/faker": "^8.4.1",
"chai": "^5.1.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"mocha": "^10.4.0",
"swagger-autogen": "^2.23.7"
}
}