Skip to content

Commit

Permalink
types?
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire committed Jul 7, 2023
1 parent 2026197 commit a0c0933
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0",
"version": "3.0.1",
"name": "httpsnippet",
"description": "HTTP Request snippet generator for *most* languages",
"author": "Kong <[email protected]>",
Expand Down Expand Up @@ -53,6 +53,7 @@
"lint:code": "eslint . --ext ts,d.ts,test.ts --fix",
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
"build": "tsc --build tsconfig.build.json",
"build:types": "tsc -d --declarationDir dist/lib --declarationMap --emitDeclarationOnly",
"test": "jest"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"strict": true,
"esModuleInterop": true,
"downlevelIteration": true,
"lib": ["ESNext"]
"lib": ["ESNext"],
"declaration": true,
"declarationMap": true,
},
"include": ["src"],
"exclude": ["dist", "**/*.test.ts"]
Expand Down

0 comments on commit a0c0933

Please sign in to comment.