forked from TheSoftwareHouse/express-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 4.59 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "boilerplate_api",
"version": "1.1.1",
"description": "",
"main": "index.js",
"scripts": {
"start": "docker-compose up boilerplate_api",
"build": "tsc --skipLibCheck --outDir build/src",
"build-swc": "swc src --out-dir build/src --sync && tsc --skipLibCheck --noEmit",
"watch": "docker-compose up builder",
"docker-build": "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD | sed 's/[/]/-/g'); docker-compose build builder && docker tag app:local app:${BRANCH_NAME}",
"docker-build-prod": "docker build -t boilerplate-api:latest -f ./docker/prod/Dockerfile .",
"down": "docker-compose down -v",
"format": "docker-compose run --rm js ./node_modules/.bin/prettier --write \"**/**/*.ts\" \"!**/**/*.d.ts\"",
"lint": "docker-compose run --rm js ./node_modules/.bin/eslint --ext .ts ./",
"lint-fix": "docker-compose run --rm js ./node_modules/.bin/eslint --ext .ts --fix ./",
"integration-tests": "cd build && node ../node_modules/.bin/mocha \"src/tests/**/*.spec.js\" --file=\"src/tests/bootstrap.js\" --exit",
"services-units": "cd build && node ../node_modules/.bin/mocha \"src/{,!(tests)/**}/*.spec.js\"",
"services-units-coverage": "nyc npm run services-units",
"integration": "docker-compose run --rm js npm run integration-tests",
"units": "docker-compose run --rm js npm run services-units-coverage",
"shell": "docker-compose run --rm js sh",
"generate-migration": "docker-compose run --rm js ./node_modules/.bin/typeorm migration:generate ./src/migrations/migration -d ./build/src/config/db",
"run-migrations": "docker-compose run --rm js ./node_modules/.bin/typeorm migration:run -d ./build/src/config/db",
"revert-migration": "docker-compose run --rm js ./node_modules/.bin/typeorm migration:revert -d ./build/src/config/db",
"create-migration": "docker-compose run --rm js ./node_modules/.bin/typeorm migration:create ./src/migrations/migration",
"plop": "plop",
"generate-schema": "docker-compose run --rm js ./node_modules/.bin/graphql-codegen",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"engines": {
"node": "18.15.0",
"npm": "9.5.0"
},
"dependencies": {
"@tshio/awilix-resolver": "^2.0.1",
"@tshio/command-bus": "^1.0.4",
"@tshio/event-dispatcher": "^1.1.0",
"@tshio/logger": "^1.0.5",
"@tshio/query-bus": "^1.0.4",
"@tshio/security-client": "0.0.20",
"apollo-server-express": "^3.11.1",
"awilix": "^8.0.0",
"celebrate": "^15.0.1",
"class-transformer": "^0.5.1",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"graphql": "^16.6.0",
"helmet": "^6.0.1",
"http-status-codes": "^2.2.0",
"json-refs": "^3.0.15",
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^3.1.2",
"pg": "^8.9.0",
"redis": "^4.6.4",
"source-map-support": "^0.5.21",
"swagger-ui-dist": "^4.15.5",
"swagger-ui-express": "^4.6.0",
"ts-pipe-compose": "^0.2.1",
"typeorm": "^0.3.11",
"typeorm-naming-strategies": "^4.1.0",
"uuid": "^9.0.0",
"winston": "^3.8.2",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@graphql-codegen/cli": "^3.0.0",
"@graphql-codegen/typescript": "^3.0.0",
"@graphql-codegen/typescript-resolvers": "^3.0.0",
"@swc/cli": "^0.1.61",
"@swc/core": "^1.3.32",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/express-serve-static-core": "^4.17.33",
"@types/jsonwebtoken": "^9.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.0",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chalk": "^5.2.0",
"chokidar": "^3.5.3",
"eslint": "^8.33.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsh-custom": "file:./eslint",
"eslint-plugin-unicorn": "^45.0.2",
"husky": "^8.0.3",
"lodash.kebabcase": "^4.1.1",
"mocha": "^10.2.0",
"nock": "^13.3.0",
"nyc": "^15.1.0",
"plop": "^3.1.1",
"prettier": "^2.8.3",
"supertest": "^6.3.3",
"typescript": "^4.9.5"
}
}