-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.7 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
{
"name": "blog272",
"type": "module",
"version": "1.0.0",
"description": "my-blog backend service",
"directories": {
"doc": "docs"
},
"scripts": {
"pre-commit": "husky install",
"node:version": "node --version | sed -e s/^v//",
"node:image:os": "echo alpine",
"node:image:tag": "echo \"$(npm run -s node:version)-$(npm run -s node:image:os)\"",
"start": "node -r dotenv/config --es-module-specifier-resolution=node src/main.mjs",
"style:check": "prettier --check .",
"style:format": "prettier --write .",
"lint:check": "eslint . --ext mjs",
"lint:fix": "eslint . --fix --ext mjs",
"test:unit": "jest --config jest.config.json src/",
"test:features": "jest features/",
"docker:test": "docker build -f docker/Dockerfile.test --build-arg NODE_IMAGE_TAG=$(npm run -s node:image:tag) .",
"docker:clean": "docker system prune -af",
"compose:test:features": "NODE_IMAGE_TAG=$(npm run -s node:image:tag) docker-compose run web-test-features",
"compose:down": "docker-compose down"
},
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"dotenv": "^10.0.0",
"js-yaml": "^3.14.1",
"jsonschema": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-logger": "^3.2.1",
"koa-router": "^10.0.0",
"koa2-swagger-ui": "^5.0.5",
"mongodb": "^3.6.6",
"qs": "^6.5.2"
},
"devDependencies": {
"axios": "^0.21.1",
"babel-jest": "^26.6.3",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"jest": "^26.6.3",
"jest-cucumber": "^3.0.1",
"jest-json-schema": "^5.0.0",
"prettier": "2.2.1"
}
}