From a19165ce2a67e6b15a4bec32509501cbc3e8b813 Mon Sep 17 00:00:00 2001 From: Roderick Hsiao Date: Wed, 30 Mar 2022 13:39:48 -0700 Subject: [PATCH] Publish commonJS type (#38) --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5f75833..45bfe31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "idle-tracker", - "version": "0.1.0", + "version": "0.1.1", "description": "Tiny pure Javascript library to track browser inactivity", "author": "Roderick Hsiao ", "repository": { diff --git a/tsconfig.json b/tsconfig.json index fed511b..eba6232 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ /* Modules */ - "module": "ESNext", /* Specify what module code is generated. */ + "module": "commonjs", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */