-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 1.96 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
{
"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": "mocha -r ts-node/register --exit src/tests/*",
"dev": "nodemon --exec ts-node src/server.ts",
"start": "node dist/server.js",
"lint": "standardx **/**/*.ts --fix",
"coverage": "tsc && nyc --reporter=lcov npm run test* && codecov"
},
"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"
]
},
"dependencies": {
"bcrypt": "^5.0.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.9.19",
"morgan": "^1.10.0",
"winston": "^3.2.1"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/jsonwebtoken": "^8.5.0",
"@types/mocha": "^7.0.2",
"@types/mongoose": "^5.7.24",
"@types/morgan": "^1.9.0",
"@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.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"mocha": "^7.2.0",
"nodemon": "^2.0.4",
"nyc": "^15.0.1",
"standardx": "^5.0.0",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
}
}