Skip to content

Commit

Permalink
publish typescript types as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jakubik committed Feb 24, 2020
1 parent b545d03 commit 407348a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "1.0.2",
"description": "Synchronous promise mock for tests",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src/**/*.ts"
"dist/*.js",
"dist/*.d.ts"
],
"scripts": {
"build": "tsc --project tsconfig.json",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"noEmit": false,

"outDir": "dist",
"declaration": true,
"sourceMap": false,

"strict": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit 407348a

Please sign in to comment.