-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.9 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
{
"name": "minesweeper-typescript",
"version": "1.0.0",
"description": "Play the well-known minesweper game!",
"engines": {
"node": "12.16.1",
"npm": "6.13.7"
},
"main": "src/server.ts",
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"console": "tsc-watch -p ./tsconfig.build.json --onSuccess \"node --experimental-repl-await ./dist/console.js\"",
"coverage": "npm run test -- --coverage",
"dev": "tsc-watch -p ./tsconfig.build.json --onSuccess \"node ./dist/server.js\"",
"inspect": "npm run dev -- --inspect",
"check-schema": "npm run build && node dist/docs/swagger_generate.js",
"lint": "eslint \"*/**/*.ts\"",
"lint-check": "eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check",
"lint-diff": "git diff --diff-filter=ACM --name-only --cached --relative | grep \\\\.ts$ | xargs eslint",
"lint-fix": "npm run lint -- --fix",
"outdated": "npm outdated --depth 0",
"pretest": "npm run lint",
"start": "npm run build && node dist/server.js",
"test": "NODE_ENV=test jest --forceExit --detectOpenHandles --verbose --runInBand"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-diff && npm run check-schema",
"pre-push": "npm test && npm audit --production"
}
},
"_moduleAliases": {
"~config": "dist/config",
"~constants": "dist/constants",
"~db": "dist/db",
"~libs": "dist/libs",
"~loaders": "dist/loaders",
"~utils": "dist/utils",
"~api": "dist/api",
"~docs": "dist/docs"
},
"cacheDirectories": [
"node_modules"
],
"author": "Martin Queija",
"license": "MIT",
"dependencies": {
"@types/lodash": "^4.14.152",
"@types/uuid": "^8.0.0",
"ajv": "^6.12.0",
"ajv-errors": "^1.0.1",
"aws-sdk": "^2.683.0",
"axios": "^0.19.2",
"body-parser": "^1.18.2",
"compression": "^1.7.4",
"cors": "^2.8.4",
"dotenv": "^8.2.0",
"express": "^4.16.2",
"helmet": "^3.21.2",
"lodash": "^4.17.15",
"module-alias": "^2.2.2",
"swagger-ui-express": "^4.1.4",
"typescript": "^3.8.3",
"uuid": "^8.1.0"
},
"devDependencies": {
"@types/ajv": "^1.0.0",
"@types/ajv-errors": "^1.0.2",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.16.0",
"@types/helmet": "0.0.46",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@types/supertest": "^2.0.9",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^4.2.3",
"jest": "^25.5.4",
"prettier": "^1.19.1",
"prettier-eslint": "^9.0.0",
"supertest": "^4.0.2",
"ts-jest": "^25.4.0",
"ts-node": "^8.8.2",
"tsc-watch": "^4.2.3",
"tsd": "^0.11.0"
}
}