Skip to content

Commit d55d45c

Browse files
committedMar 24, 2021
fix(package): add proper typings field
1 parent d68d954 commit d55d45c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed
 

‎package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
"name": "dbots",
33
"version": "8.0.2",
44
"description": "Discord bot list poster and stats retriever",
5-
"main": "./lib/index",
6-
"repository": {
7-
"type": "git",
8-
"url": "git+https://github.com/dbots-pkg/dbots.js.git"
9-
},
5+
"main": "./lib/index.js",
6+
"types": "./lib/index.d.ts",
7+
"unpkg": "./webpack/dbots.min.js",
8+
"jsdelivr": "./webpack/dbots.min.js",
109
"scripts": {
1110
"build": "rm -r lib/* && tsc",
1211
"changelog": "ts-node scripts/changelog && npm i --package-lock-only",
@@ -24,8 +23,10 @@
2423
"lint-staged": {
2524
"*.ts": "eslint --fix"
2625
},
27-
"unpkg": "./webpack/dbots.min.js",
28-
"jsdelivr": "./webpack/dbots.min.js",
26+
"repository": {
27+
"type": "git",
28+
"url": "git+https://github.com/dbots-pkg/dbots.js.git"
29+
},
2930
"keywords": [
3031
"api",
3132
"discord",

0 commit comments

Comments
 (0)
Please sign in to comment.