diff --git a/package.json b/package.json index 8ea57c5..6c59d27 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,10 @@ "dist" ], "scripts": { - "build": "tsc && cp ./proto/services.proto ./dist/proto/", + "build": "tsc && yarn copy-files", "prepare": "npm run build", - "commit": "cz" + "commit": "cz", + "copy-files":"copyfiles -u 1 ./proto/services.proto ./dist/proto/" }, "repository": "git@github.com:keploy/typescript-sdk.git", "author": "Rajat Sharma ", @@ -49,6 +50,7 @@ "import-in-the-middle": "^1.3.4", "merge-descriptors": "^1.0.1", "node-fetch": "^2.6.7", - "require-in-the-middle": "^5.1.0" + "require-in-the-middle": "^5.1.0", + "copyfiles": "^2.4.1" } }