Skip to content

Commit f46ef9d

Browse files
author
Nicolò Maria Mezzopera
authored
Merge pull request #258 from HIMISOCOOL/next
added types to index.d.ts
2 parents 9559639 + b085b55 commit f46ef9d

File tree

7 files changed

+755
-5
lines changed

7 files changed

+755
-5
lines changed

examples/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@
77
"scripts": {
88
"build": "cd scripts && ./build.sh",
99
"size": "size-limit",
10-
"lint": "eslint src --ext .js,.vue --ignore-path .gitignore"
10+
"lint": "eslint src --ext .js,.vue --ignore-path .gitignore",
11+
"test:types": "tsc -p ./types/test/tsconfig.json"
1112
},
1213
"files": [
13-
"dist/"
14+
"dist/",
15+
"types/*.d.ts"
1416
],
1517
"main": "dist/vue2-leaflet.min.js",
1618
"module": "dist/vue2-leaflet.min.js",
1719
"unpkg": "dist/vue2-leaflet.min.js",
20+
"typings": "types/index.d.ts",
1821
"repository": {
1922
"type": "git",
2023
"url": "git://github.com/KoRiGaN/Vue2Leaflet.git"
2124
},
2225
"dependencies": {
2326
"leaflet": "^1.3.4",
24-
"vue": "^2.5.3"
27+
"vue": "^2.5.3",
28+
"@types/leaflet": "^1.2.11"
2529
},
2630
"peerDependencies": {},
2731
"size-limit": [
@@ -53,6 +57,7 @@
5357
"eslint-plugin-standard": "^3.0.1",
5458
"eslint-plugin-vue": "^4.0.0",
5559
"size-limit": "^0.17.1",
60+
"typescript": "^2.7.1",
5661
"vue-loader": "^14.2.3",
5762
"vue-style-loader": "^4.1.2",
5863
"vue-template-compiler": "^2.5.17",

0 commit comments

Comments
 (0)