From 2eb2eb1b7257f4add00e4bc3708e91f9f9cadebe Mon Sep 17 00:00:00 2001 From: Dilip Kola Date: Fri, 14 Jun 2024 09:46:15 +0530 Subject: [PATCH] fix: package.json remove type module --- .eslintignore | 2 +- commitlint.config.js | 2 +- package.json | 1 - vite.config.ts => vite.config.mts | 0 4 files changed, 2 insertions(+), 3 deletions(-) rename vite.config.ts => vite.config.mts (100%) diff --git a/.eslintignore b/.eslintignore index 6a4e6b6..dcb7db6 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,5 +4,5 @@ coverage test commitlint.config.js jest.config.ts -vite.config.ts +vite.config.*ts app.ts diff --git a/commitlint.config.js b/commitlint.config.js index 0616fb9..84dcb12 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1,3 @@ -export default { +module.exports = { extends: ['@commitlint/config-conventional'], }; diff --git a/package.json b/package.json index c21371b..a32ff6f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "description": "A library for evaluating JSON template expressions.", "main": "build/index.js", "types": "build/index.d.ts", - "type": "module", "keywords": [ "json", "jsonpath", diff --git a/vite.config.ts b/vite.config.mts similarity index 100% rename from vite.config.ts rename to vite.config.mts