generated from smoke-trees/node-template-ts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.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
{
"name": "template-ts",
"version": "1.0.0",
"description": "TypeScript version of our Node.js template",
"main": "dist/server.js",
"scripts": {
"build": "npm run lint && tsc",
"build-nolint": "tsc",
"test": "standardx \"**/*.ts\" && ts-mocha --exit src/tests/*",
"dev": "nodemon --exec ts-node src/server.ts",
"start": "node dist/server.js",
"lint": "standardx \"**/*.ts\" --fix",
"coverage": "tsc && nyc npm run test",
"codecov-coverage": "tsc && nyc --reporter=lcov npm run test",
"codecov": "npm run codecov-coverage && codecov --disable=gcov"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smoke-trees/node-template-ts.git"
},
"keywords": [
"nodejs",
"template",
"typescript"
],
"author": "SmokeTrees",
"license": "MIT",
"bugs": {
"url": "https://github.com/smoke-trees/node-template-ts/issues"
},
"homepage": "https://github.com/smoke-trees/node-template-ts#readme",
"eslintConfig": {
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src/models",
"src/routes"
],
"exclude": [
"src/models/**/types.ts"
]
},
"dependencies": {
"cls-rtracer": "^2.2.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"morgan": "^1.10.0",
"winston": "^3.2.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/mocha": "^7.0.2",
"@types/morgan": "^1.9.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"codecov": "^3.7.1",
"eslint": "^6.8.0",
"mocha": "^7.2.0",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"standardx": "^5.0.0",
"ts-mocha": "^7.0.0",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
}
}