-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 3.18 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
{
"name": "clean-typescript-api",
"version": "2.0.0",
"description": "A typescript api made with clean architecture and TDD",
"main": "src/main/server.ts",
"author": "Gabriel Lopes <[email protected]>",
"license": "MIT",
"scripts": {
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand --no-cache",
"test:verbose": "jest --passWithNoTests --runInBand",
"test:watch": "yarn test --watch",
"test:unit": "yarn test:watch -c jest-unit-config.js",
"test:integration": "yarn test:watch -c jest-integration-config.js",
"test:staged": "yarn test --findRelatedTests",
"test:ci": "yarn test --coverage",
"test:coveralls": "yarn test:ci && coveralls < coverage/lcov.info",
"lint": "eslint src/** --fix",
"dev": "ts-node-dev -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/main/server.ts",
"up": "yarn build && docker-compose up -d",
"down": "docker-compose down",
"build": "rimraf ./dist && babel src --extensions \".js,.ts\" --out-dir dist --copy-files --no-copy-ignored",
"postbuild": "yarn copyfiles -u 1 public/**/* dist/static",
"start": "node ./dist/main/server.js",
"debug": "node --inspect=0.0.0.0:9222 --nolazy ./dist/main/server.js",
"start:live": "nodemon -L --watch ./dist ./dist/main/server.js",
"debug:live": "nodemon -L --watch ./dist --inspect=0.0.0.0:9222 --nolazy ./dist/main/server.js"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@shelf/jest-mongodb": "^1.2.3",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.9",
"@types/graphql": "^14.5.0",
"@types/graphql-iso-date": "^3.4.0",
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/mocha": "^8.2.0",
"@types/mongodb": "^3.6.3",
"@types/node": "^14.14.12",
"@types/supertest": "^2.0.10",
"@types/swagger-ui-express": "^4.1.2",
"@types/validator": "^13.1.1",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"apollo-server-integration-testing": "^2.3.1",
"babel-eslint": "^10.1.0",
"babel-plugin-module-resolver": "^4.0.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.0",
"eslint": "^7.12.1",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"git-commit-msg-linter": "^3.0.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"mockdate": "^3.0.2",
"rimraf": "^3.0.2",
"supertest": "^6.0.1",
"ts-jest": "^26.4.4",
"ts-node-dev": "^1.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.2"
},
"dependencies": {
"apollo-server-express": "^2.22.2",
"bcrypt": "^5.0.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"graphql": "^15.5.0",
"graphql-iso-date": "^3.6.1",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.6.3",
"nodemon": "^2.0.7",
"swagger-ui-express": "^4.1.6",
"validator": "^13.5.2"
},
"engines": {
"node": "14"
}
}