Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jempl",
"version": "1.0.0",
"version": "1.0.1",
"description": "A JSON templating engine with conditionals, loops, and custom functions",
"main": "src/index.js",
"types": "types/index.d.ts",
Expand All @@ -25,6 +25,6 @@
"test:coverage": "bunx vitest run --coverage",
"lint": "bunx prettier src -c",
"lint:fix": "bunx prettier src -w",
"types": "bunx tsc --allowJs --declaration --emitDeclarationOnly --skipLibCheck --outDir types src/**/*.js"
"types": "bunx tsc"
}
}
22 changes: 22 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true,
"outDir": "types",
"moduleResolution": "NodeNext",
"module": "NodeNext",
"target": "ESNext",
"strict": false,
"esModuleInterop": true,
"resolveJsonModule": true
},
"include": [
"src/**/*.js"
],
"exclude": [
"node_modules",
"types"
]
}