Skip to content

Commit

Permalink
feat: added tag to kill port node process
Browse files Browse the repository at this point in the history
  • Loading branch information
4lessandrodev committed Jul 3, 2021
1 parent 56f69eb commit 545a820
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"private": true,
"license": "UNLICENSED",
"scripts": {
"stop:process": "lsof -i:3000 | awk '/node/{print $2}' | awk 'NR == 1' | xargs kill -9 ",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
Expand All @@ -21,11 +22,11 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^7.6.15",
"@nestjs/core": "^7.6.15",
"@nestjs/common": "^7.6.18",
"@nestjs/core": "^7.6.18",
"@nestjs/graphql": "^7.11.0",
"@nestjs/mongoose": "^7.2.4",
"@nestjs/platform-express": "^7.6.15",
"@nestjs/platform-express": "^7.6.18",
"apollo-server-express": "^2.25.2",
"bcrypt": "^5.0.1",
"date-fns": "2.22.1",
Expand Down Expand Up @@ -82,4 +83,4 @@
"@app/*": "dist/application/*",
"@": "dist"
}
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@
webpack "5.28.0"
webpack-node-externals "2.5.2"

"@nestjs/common@^7.6.15":
"@nestjs/common@^7.6.18":
version "7.6.18"
resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-7.6.18.tgz#d89e6d248985eec13af60507a8725cb2142d660a"
integrity sha512-BUJQHNhWzwWOkS4Ryndzd4HTeRObcAWV2Fh+ermyo3q3xYQQzNoEWclJVL/wZec8AONELwIJ+PSpWI53VP0leg==
Expand All @@ -1268,7 +1268,7 @@
tslib "2.2.0"
uuid "8.3.2"

"@nestjs/core@^7.6.15":
"@nestjs/core@^7.6.18":
version "7.6.18"
resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-7.6.18.tgz#36448f0ae7f7d08f032e1e7e53b4a4c82ae844d7"
integrity sha512-CGu20OjIxgFDY7RJT5t1TDGL8wSlTSlbZEkn8U5OlICZEB3WIpi98G7ajJpnRWmEgW8S4aDJmRKGjT+Ntj5U4A==
Expand Down Expand Up @@ -1312,7 +1312,7 @@
resolved "https://registry.yarnpkg.com/@nestjs/mongoose/-/mongoose-7.2.4.tgz#60a50532a244279703344368d74ecd802aeda4a4"
integrity sha512-NTE/IwijFUEJytPHLoHRYe0X5p16W1Awf8tm6I3mWsIUuBnSDfMyN0fy30uVaM/exYvCkMwEsAVpeSeKVPMHxg==

"@nestjs/platform-express@^7.6.15":
"@nestjs/platform-express@^7.6.18":
version "7.6.18"
resolved "https://registry.yarnpkg.com/@nestjs/platform-express/-/platform-express-7.6.18.tgz#cdf442dfd85948fc7b67bbc4007dddef83cdd4b9"
integrity sha512-Dty2bBhsW7EInMRPS1pkXKJ3GBBusEj6fnEpb0UfkaT3E7asay9c64kCmZE+8hU430qQjY+fhBb1RNWWPnUiwQ==
Expand Down

0 comments on commit 545a820

Please sign in to comment.