Skip to content

Commit 6f7a87b

Browse files
committed
chore: package scripts cleanup and more minor changes
1 parent 40a35db commit 6f7a87b

5 files changed

Lines changed: 6 additions & 15 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ typings/
6666
dist
6767
routes.ts
6868
swagger.yaml
69+
.vscode/settings.json

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"request": "launch",
77
"name": "Debug TypeScript",
88
"program": "${workspaceFolder}\\src\\index.ts",
9-
"preLaunchTask": "npm: prepare:dev",
9+
"preLaunchTask": "npm: build:dev",
1010
"sourceMaps": true,
1111
"smartStep": true,
1212
"internalConsoleOptions": "openOnSessionStart",

package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
"main": "dist/index.js",
77
"scripts": {
88
"jscopy": "copyfiles -u 1 src/**/*.js dist",
9-
"prepare": "tsoa routes && tsc && npm run jscopy",
10-
"build": "npm run prepare",
9+
"build": "tsoa routes && tsc && npm run jscopy",
1110
"start": "node dist/index.js",
12-
"prepare:dev": "tsoa routes && tsoa swagger && tsc && npm run jscopy",
13-
"start:dev": "npm run prepare:dev && node --inspect dist/index.js",
11+
"build:dev": "tsoa routes && tsoa swagger && tsc && npm run jscopy",
12+
"start:dev": "npm run build:dev && node --inspect dist/index.js",
1413
"format": "prettier --write \"src/**/*.{ts,json}\""
1514
},
1615
"dependencies": {
@@ -38,7 +37,6 @@
3837
"@types/body-parser": "^1.17.0",
3938
"@types/dotenv": "^6.1.0",
4039
"@types/express": "^4.16.0",
41-
"@types/log4js": "^2.3.5",
4240
"@types/node": "^10.12.30",
4341
"@types/node-cache": "^4.1.3",
4442
"@types/randomstring": "^1.1.6",

tslint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"rules": {
66
"interface-name": [true, "never-prefix"],
77
"arrow-return-shorthand": true,
8+
"arrow-parens": false,
89
"callable-types": true,
910
"class-name": true,
1011
"comment-format": [true, "check-space"],

0 commit comments

Comments
 (0)