diff --git a/package-lock.json b/package-lock.json index 162d50e..ce3add0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,8 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", - "eslint": "^8.52.0" + "eslint": "^8.52.0", + "typescript": "^5.2.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1786,7 +1787,6 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index ca78ba6..c824f5b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Simple client rpc for handle eth namespace", "scripts": { "test": "npm run build:tsc && node ./test/test.js", - "build:tsup": "rm -rf dist/ && tsup-node ./src/index.ts --format cjs,esm --dts", + "build:tsup": "rm -rf dist/ && tsup ./src/index.ts --format cjs,esm --dts", "build:tsc": "rm -rf dist/ && tsc" }, "homepage": "https://github.com/damartripamungkas/simple-client-eth-rpc", @@ -44,6 +44,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", - "eslint": "^8.52.0" + "eslint": "^8.52.0", + "typescript": "^5.2.2" } }