-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.79 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
{
"name": "microservice-boilerplate",
"version": "1.0.0",
"description": "Simple microservice boiler plate with Node.JS & Typescript",
"main": "./dist/main.js",
"scripts": {
"clean": "rimraf dist/",
"ts-node": "ts-node",
"tslint": "tslint --project ./",
"tsc": "tsc --project ./tsconfig.json",
"prettier-all": "prettier --write 'src/**/*.+(ts|tsx|js|css|json)'",
"precompile": "npm run prettier-all && npm run tslint && npm run clean",
"compile": "npm run tsc",
"pretest": "npm run compile",
"test": "nyc mocha --require source-map-support/register --recursive dist/**/*.spec.js",
"prebuild": "yarn tsoa swagger -c tsoa.json && yarn tsoa routes -c tsoa.json",
"build": "npm run test",
"postbuild": "rimraf dist/**/spec dist/**/*.spec.js",
"debug": "cross-var node --inspect-brk=0.0.0.0:${DEBUG_PORT} --require source-map-support/register ./dist/main.js",
"start": "node ./dist/main.js",
"profile": "node --prof ./dist/main.js"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts"
],
"include": [
"src/**/*.ts"
],
"reporter": [
"html"
],
"all": true
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": false
},
"license": "ISC",
"author": "Meraj Ahmad Siddiqui <[email protected]>",
"dependencies": {
"@types/express": "^4.17.0",
"@types/node": "^12.7.1",
"express": "^4.17.1",
"ip": "^1.1.5",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"source-map-support": "^0.5.13",
"swagger-ui-express": "^4.0.7",
"tslint": "^5.18.0",
"tslint-clean-code": "^0.2.9",
"tslint-config-prettier": "^1.18.0",
"tsoa": "^2.4.3",
"typescript": "^3.5.3",
"winston": "^3.2.1"
}
}