Skip to content

Commit 209e68b

Browse files
authored
fix: make sure typings are included in the output (#178)
1 parent 3f2bf54 commit 209e68b

File tree

6 files changed

+145
-326
lines changed

6 files changed

+145
-326
lines changed

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ stories
2929
tests
3030
example
3131
jest-setup.js
32-
__tests__
33-
global-types.d.ts
32+
__tests__

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
"rollup-plugin-node-resolve": "^4.0.0",
152152
"rollup-plugin-replace": "^2.1.0",
153153
"rollup-plugin-uglify": "^6.0.2",
154-
"typescript": "^3.2.4",
155-
"typescript-eslint-parser": "^22.0.0"
154+
"typescript": "^3.2.4"
156155
}
157156
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"downlevelIteration": true,
1717
"declaration": true,
1818
"emitDeclarationOnly": true,
19-
"declarationDir": "dist/typings"
19+
"declarationDir": "dist"
2020
},
2121
"include": ["src/**/*"],
2222
"exclude": ["dist"]

0 commit comments

Comments
 (0)