-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
47 lines (47 loc) · 1.69 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": "hexagonal-architecture-distilled",
"version": "1.0.0",
"description": "The ultimate guide to understand Hexagonal Architecture (a.k.a Ports and Adapters) in JavaScript.",
"main": "src/index.js",
"scripts": {
"start": "node ./src/index.js",
"fmt": "prettier --write ./src",
"lint": "eslint ./src ./e2e --ext .js --fix",
"test": "jest --passWithNoTests --runInBand",
"test:unit": "npm test -- --watch -c jest-unit.config.js",
"test:integration": "npm test -- --watch -c jest-integration.config.js",
"docker:up": "docker-compose up --build --detach",
"docker:down": "docker-compose down -v",
"test:create-a-post": "node e2e/docker/create-a-post.test.js",
"test:get-a-specific-post": "node e2e/docker/get-a-specific-post.test.js",
"test:edit-a-particular-post": "node e2e/docker/edit-a-particular-post.test.js",
"test:list-all-posts": "node e2e/docker/list-all-posts.test.js",
"test:postman:headless": "newman run ./e2e/postman/hexagonal-architecture-distilled.postman_collection.json -e ./e2e/postman/hexagonal-architecture-distilled-dev.postman_environment.json"
},
"keywords": [
"javascript",
"blog",
"hexagonal-architecture",
"ports-and-adapters",
"software-architecture-and-design",
"alistair-cockburn"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@shelf/jest-mongodb": "^2.0.1",
"eslint": "^7.32.0",
"git-commit-msg-linter": "^3.2.6",
"jest": "^27.0.6",
"newman": "^5.3.0",
"prettier": "^2.3.2"
},
"dependencies": {
"dotenv": "^10.0.0",
"express": "^4.17.1",
"module-alias": "^2.2.2",
"mongodb": "^4.1.0",
"nanoid": "^3.1.23",
"node-fetch": "^2.6.1"
}
}