Skip to content

Commit 5e1d7bd

Browse files
author
ToastHawaii
authored
Try to make types visible in npm
I can't find your types in npm. I change the package.json like descripted here http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html.
1 parent cae37b9 commit 5e1d7bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
66
"author": "Tomas Kirda (https://twitter.com/tkirda)",
77
"main": "dist/jquery.autocomplete.js",
8+
"types": "./typings/jquery-autocomplete/jquery.autocomplete.d.ts",
89
"license": "MIT",
910
"repository": {
1011
"type": "git",
1112
"url": "git://github.com/devbridge/jQuery-Autocomplete.git"
1213
},
1314
"dependencies": {
15+
"@types/jquery": "^2.0.32",
1416
"jquery": ">=1.7"
1517
},
1618
"devDependencies": {

0 commit comments

Comments
 (0)