Skip to content

Commit 7f8f063

Browse files
committed
Remove the type: module
1 parent 846c2d8 commit 7f8f063

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @type {import('ts-jest').JestConfigWithTsJest} */
2-
export default {
2+
module.exports = {
33
preset: 'ts-jest',
44
testEnvironment: 'node',
55
};

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hebcal/hdate",
3-
"version": "0.9.11",
3+
"version": "0.9.12",
44
"description": "converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold",
55
"author": "Michael J. Radwin (https://github.com/mjradwin)",
66
"contributors": [
@@ -12,10 +12,14 @@
1212
"type": "git",
1313
"url": "git+https://github.com/hebcal/hdate-js.git"
1414
},
15-
"type": "module",
1615
"main": "dist/cjs/index.js",
1716
"module": "dist/esm/index.js",
1817
"typings": "dist/index.d.ts",
18+
"exports": {
19+
"require": "./dist/cjs/index.js",
20+
"import": "./dist/esm/index.js",
21+
"types": "./dist/index.d.ts"
22+
},
1923
"keywords": [
2024
"hebcal",
2125
"hebrew",

0 commit comments

Comments
 (0)