Skip to content

Commit 54cbbd0

Browse files
Matt AitkenMatt Aitken
Matt Aitken
authored and
Matt Aitken
committed
Updated the tsconfig and version number
1 parent c0f7913 commit 54cbbd0

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

package-lock.json

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jsonhero/json-infer-types",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Infer the types of a JSON value",
55
"homepage": "https://github.com/jsonhero-io/json-infer-types",
66
"bugs": {
@@ -43,6 +43,7 @@
4343
"devDependencies": {
4444
"@tsconfig/recommended": "^1.0.1",
4545
"@types/jest": "^27.0.2",
46+
"@types/jsbn": "^1.2.30",
4647
"@types/mime-types": "^2.1.1",
4748
"@types/node": "^16.11.7",
4849
"@types/uuid": "^8.3.3",
@@ -79,4 +80,4 @@
7980
"pre-commit": "npm run prettier-format && npm run lint"
8081
}
8182
}
82-
}
83+
}

tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2-
"extends": "@tsconfig/recommended/tsconfig.json",
32
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
45
"preserveConstEnums": true,
56
"outDir": "./lib",
67
"declaration": true,
7-
"allowJs": true
8+
"allowJs": true,
9+
"strict": true,
10+
"esModuleInterop": true
811
},
912
"include": ["src/**/*"],
1013
"exclude": ["node_modules", "**/*.spec.ts"]

0 commit comments

Comments
 (0)