-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.4 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
{
"name": "my-blog",
"version": "1.0.0",
"description": "a blog app using express and mongodb",
"main": "server/app.js",
"author": "Wisam Naji <[email protected]>",
"license": "MIT",
"scripts": {
"start:app": "nodemon server/app.js",
"postinstall": "docker-compose exec -w /backend-app app npm install || true",
"start": "docker-compose up",
"build": "docker-compose up --build",
"prune": "docker-compose down -v",
"stop": "docker-compose down",
"test": "docker-compose exec -w /backend-app app npm run test:app",
"test:app": "IS_JEST=1 jest --noStackTrace --forceExit --detectOpenHandles",
"pretest": "docker-compose exec mongodb-test /docker-entrypoint-initdb.d/mongorestore.sh"
},
"dependencies": {
"bcrypt": "^5.0.1",
"cookie": "^0.4.1",
"dompurify": "^2.3.3",
"dotenv": "^10.0.0",
"ejs": "^3.1.6",
"express": "^4.17.1",
"express-fileupload": "^1.2.1",
"express-partials": "^0.3.0",
"express-session": "^1.17.3",
"highlight.js": "^11.3.1",
"jsdom": "^18.0.0",
"marked": "^3.0.8",
"method-override": "^3.0.0",
"mongodb": "^4.1.3",
"mongoose": "^6.0.12",
"slugify": "^1.6.1"
},
"devDependencies": {
"eslint": "7.32.0",
"jest": "^27.3.1",
"nodemon": "^2.0.14",
"prettier": "^2.4.1",
"supertest": "^6.1.6"
},
"jest": {
"testRegex": "((\\.|/)(test|spec))\\.[jt]sx?$"
}
}