Skip to content

Commit 4821a29

Browse files
committed
feat(types): ship typescript definitions
1 parent 853956b commit 4821a29

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
},
88
"description": "CLI tool to run Twilio Functions locally for development",
99
"main": "dist/index.js",
10+
"types": "dist/index.d.ts",
1011
"scripts": {
1112
"clean": "rimraf dist",
1213
"build": "tsc",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
4+
"declaration": true,
45
"outDir": "./dist" /* Redirect output structure to the directory. */,
56
},
6-
"exclude": ["node_modules", "**/*.test.ts"]
7+
"exclude": ["node_modules", "**/*.test.ts", "dist"]
78
}

0 commit comments

Comments
 (0)