Skip to content

Commit 40372f2

Browse files
committed
chore(package): improve
1 parent 09be61d commit 40372f2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.npmignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ test
1717
examples
1818
CHANGELOG.md
1919
.editorconfig
20-
.eslintignore
21-
.eslintrc
20+
.eslint.ignore.js
21+
.eslint.config.js
22+
build.config.js
2223
.babelrc
2324
.gitignore
2425
.github
2526
.husky
26-
build.config.js

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"type": "module",
66
"exports": {
77
".": {
8+
"types": "./dist/index.d.ts",
89
"import": "./dist/index.js",
910
"require": "./dist/index.cjs"
1011
}
1112
},
1213
"main": "./dist/index.cjs",
14+
"types": "./dist/index.d.ts",
1315
"files": [
1416
"dist"
1517
],
@@ -32,7 +34,7 @@
3234
},
3335
"repository": {
3436
"type": "git",
35-
"url": "https://github.com/basics/vector.git"
37+
"url": "git+https://github.com/basics/vector.git"
3638
},
3739
"keywords": [
3840
"vector",

0 commit comments

Comments
 (0)