diff --git a/sdk/batch/batch/package.json b/sdk/batch/batch/package.json index 8007278e93aa..07b365eb6dca 100644 --- a/sdk/batch/batch/package.json +++ b/sdk/batch/batch/package.json @@ -21,7 +21,7 @@ "license": "MIT", "main": "./dist/batch.js", "module": "./esm/batchServiceClient.js", - "types": "./esm/batchServiceClient.d.ts", + "types": "./types/src/batchServiceClient.d.ts", "devDependencies": { "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-json": "^4.1.0", @@ -76,18 +76,11 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ - "dist/**/*.js", - "dist/**/*.js.map", - "dist/**/*.d.ts", - "dist/**/*.d.ts.map", - "esm/**/*.js", - "esm/**/*.js.map", - "esm/**/*.d.ts", - "esm/**/*.d.ts.map", - "src/**/*.ts", + "dist/", + "dist-esm/src/", + "types/src/", "README.md", - "rollup.config.js", - "tsconfig.json" + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",