From e80859b35e677599b35201144e760d6f7cc0e85e Mon Sep 17 00:00:00 2001 From: Colloque Tsui Date: Sat, 10 Oct 2020 20:43:23 +0800 Subject: [PATCH] fix: dependencies --- package.json | 14 +++++++------- src/index.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index be16a15..f7dca6c 100644 --- a/package.json +++ b/package.json @@ -5,26 +5,26 @@ "main": "index.js", "scripts": { "start": "npm run serve", - "build": "npm run npm run build-ts && npm run lint", + "build": "npm run build-ts", "serve": "node dist/index.js", "watch-node": "nodemon dist/index.js", - "watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"", + "watch": "tsc && concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"", "build-ts": "tsc", - "watch-ts": "tsc -w", - "lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix" + "watch-ts": "tsc -w" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { - "typescript": "^3.7.3" + "typescript": "^4.0.3" }, "devDependencies": { "@babel/cli": "^7.7.5", "@babel/core": "^7.7.5", "@babel/preset-env": "^7.7.6", - "@types/concurrently": "^4.1.0", + "@types/concurrently": "^5.2.1", "@types/node-fetch": "^2.5.4", - "concurrently": "^5.0.0" + "concurrently": "^5.0.0", + "nodemon": "^2.0.4" } } diff --git a/src/index.ts b/src/index.ts index d85d17e..e48d190 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,4 +2,4 @@ function init(firstName: string, lastName: string) { return `${firstName} ${lastName}`; } -console.log(init('Hello', 'world')); \ No newline at end of file +console.log(init('Hello', 'world'));