-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.98 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.98 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "api-seed",
"version": "0.1.0",
"description": "API Seed package",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexcristea/api-seed.git"
},
"scripts": {
":clean": "rm -rf .build",
":build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
":start": "node .build/src/main/index.js",
"dkr:image:build": "docker build -t ${npm_package_name} --file ./infrastructure/containerization/Dockerfile .build",
"dkr:container:run": "docker container run --publish 8080:8080 --detach --name ${npm_package_name} ${npm_package_name}:latest",
"dkr:container:remove": "docker rm ${npm_package_name}",
"build": "run-s :clean :build",
"check:all": "run-s check:dpdm check:type check:prettier check:lint",
"check:dpdm": "dpdm ./src/* --tsconfig ./tsconfig.json --exclude ./node_modules --warning false --tree false",
"check:lint": "eslint './**/**.{js,ts}'",
"check:prettier": "prettier --check './**/**.{js,ts}'",
"check:type": "tsc --pretty",
"dev": "node -r ts-node/register/transpile-only -r tsconfig-paths/register ./src/main/index.ts",
"dev:watch": "nodemon",
"start": "run-s :clean :build :start",
"test": "jest src",
"test:all": "run-s test test:acceptance",
"test:acceptance": "cucumber-js",
"test:e2e": "jest tests/e2e",
"test:coverage": "jest src --coverage",
"test:watch": "jest src --watchAll",
"docker:build": "run-s test build dkr:image:build",
"docker:run": "run-s test build dkr:image:build dkr:container:run",
"docker:rerun": "run-s test build dkr:image:build dkr:container:remove dkr:container:run",
"prepare": "husky install"
},
"devDependencies": {
"@cucumber/cucumber": "^9.0.0",
"@cucumber/messages": "^21.0.1",
"@cucumber/pretty-formatter": "^1.0.0",
"@faker-js/faker": "^7.6.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.5",
"@types/npm": "^7.19.0",
"@types/sinon": "^10.0.13",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.1",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"chai": "^4.3.7",
"dpdm": "^3.12.0",
"eslint": "^8.35.0",
"husky": "^8.0.3",
"jest": "^29.4.3",
"jest-cucumber": "^3.0.1",
"jest-html-reporters": "^3.1.3",
"jest-junit": "^15.0.0",
"jest-mock-extended": "^3.0.3",
"nodemon": "^2.0.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"sinon": "^15.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"ts-sinon": "^2.0.2",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "^3.14.2",
"typescript": "^4.9.5",
"yarn-upgrade-all": "^0.7.2"
},
"dependencies": {
"axios": "^1.3.4",
"dotenv": "^16.0.3",
"envalid": "^7.3.1",
"express": "^4.18.2",
"swagger-ui-express": "^4.6.2",
"uuid": "^9.0.0",
"yamljs": "^0.3.0"
}
}