Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit c2f2028

Browse files
committed
Fix package build mode (typescript)
1 parent 4dc5707 commit c2f2028

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "todoist-rest-client",
3-
"version": "2.0.1",
3+
"version": "2.0.3",
44
"description": "A simple todoist-rest-api client",
55
"author": "Dubisdev",
66
"license": "MIT",
77
"main": "dist/index.js",
8-
"type": "commonjs",
8+
"type": "module",
99
"types": "dist/index.d.ts",
1010
"keywords": [
1111
"todoist",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
2525

2626
/* Modules */
27-
"module": "commonjs", /* Specify what module code is generated. */
27+
"module": "ES6", /* Specify what module code is generated. */
2828
"rootDir": "src", /* Specify the root folder within your source files. */
29-
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
29+
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
3030
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3131
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3232
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */

0 commit comments

Comments
 (0)