diff --git a/package.json b/package.json index 780804f..21d4391 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "prepare": "husky install", "start": "node dist/index.js", "dev": "tsx ./examples/dev-example.ts", - "build": "tsc", + "build": "rimraf ./dist && tsc", "check_package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz", "prepub": "echo prepublish scripts && npm run build && npm run check_package", "commit": "cz", @@ -39,15 +39,15 @@ "zod": "^3.22.4" }, "devDependencies": { - "@commitlint/cli": "^18.4.3", - "@commitlint/config-conventional": "^18.4.3", + "@commitlint/cli": "^18.4.4", + "@commitlint/config-conventional": "^18.4.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/dotenv": "^8.2.0", - "@types/node": "^20.10.6", + "@types/node": "^20.10.7", "@types/request": "^2.48.12", - "@typescript-eslint/eslint-plugin": "^6.16.0", - "@typescript-eslint/parser": "^6.16.0", + "@typescript-eslint/eslint-plugin": "^6.18.1", + "@typescript-eslint/parser": "^6.18.1", "dotenv": "^16.3.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", @@ -55,6 +55,7 @@ "husky": "^8.0.3", "lint-staged": "^15.2.0", "prettier": "^3.1.1", + "rimraf": "^5.0.5", "semantic-release": "^22.0.12", "tsx": "^4.7.0", "typescript": "^5.3.3" diff --git a/tsconfig.json b/tsconfig.json index a4e312b..dc37865 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,5 +8,5 @@ "declaration": true, "allowSyntheticDefaultImports": true }, - "include": ["src", "examples"] + "include": ["src"] }