diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index 0989844..8b1d1a9 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "6.0.0", "description": "Functions to mock the JavaScript aws-sdk", "type": "module", - "main": "dist/index.js", + "main": "dist/index.cjs", "types": "dist/index.d.ts", + "files": ["dist", "README.md", "LICENSE"], "scripts": { "lint": "tsc", "nocov": "ts-mocha test/**/*.spec.ts", diff --git a/tsconfig.json b/tsconfig.json index 0370402..c670e68 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -33,6 +33,7 @@ }, "exclude": [ "babel.config.cjs", - "node_modules/**/*" + "node_modules/**/*", + "dist/**/*", ] }