Skip to content

Commit df11601

Browse files
Turbo87keithamus
authored andcommitted
feat: support "types" and "typings" from TypeScript (#10)
see https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
1 parent c054984 commit df11601

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ function sortPackageJson(packageJson) {
7979
'files',
8080
'main',
8181
'jsnext:main',
82+
'types',
83+
'typings',
8284
'style',
8385
'example',
8486
'examplestyle',

0 commit comments

Comments
 (0)