Skip to content

Commit

Permalink
chore: Update module configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
oboukli committed Feb 16, 2024
1 parent 2018a1f commit 76c652c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "montehall",
"version": "1.4.13",
"version": "1.4.14",
"description": "A Monte Carlo machine for the Monty Hall Problem",
"author": "Omar Boukli-Hacene",
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2021"],
"module": "ES2020",
"moduleResolution": "node",
"module": "Node16",
"moduleResolution": "Node16",
"noEmitOnError": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "Node10",
"outDir": "test-out/",
"rootDir": "./"
"rootDir": "./",
"types": ["node", "jest"]
},
"include": [".eslintrc.js", "jest.config.cts", "src/"],
"exclude": ["src/cli.ts"]
Expand Down

0 comments on commit 76c652c

Please sign in to comment.