diff --git a/package.json b/package.json index a02494d..7616cb7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "pinejs-client-supertest", "version": "2.1.4", "description": "This module provides the nodejs interface for the pinejs API using request.", + "type": "commonjs", "main": "build/index.js", "types": "build/index.d.ts", "repository": { diff --git a/tsconfig.json b/tsconfig.json index 1ba9ac2..545d2b3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "module": "commonjs", + "module": "Node16", "outDir": "build", "noImplicitAny": true, "noUnusedParameters": true,