diff --git a/package.json b/package.json index 29388a7af..9ccfc0070 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "description": "The official Elasticsearch client for Node.js", "main": "index.js", "types": "index.d.ts", + "type": "commonjs", "scripts": { "test": "npm run build && npm run lint && tap test/unit/{*,**/*}.test.ts", "test:unit": "npm run build && tap test/unit/{*,**/*}.test.ts",