Update files option for npm publish

This commit is contained in:
Ariful Alam 2022-03-26 15:02:26 +06:00
parent 2623da910b
commit 7794d543d3
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,10 @@
"url": "https://github.com/arifszn/gitprofile.git"
},
"files": [
"dist"
"dist/gitprofile.es.js",
"dist/gitprofile.umd.js",
"dist/style.css",
"types"
],
"main": "./dist/gitprofile.umd.js",
"module": "./dist/gitprofile.es.js",

2
types/index.d.ts vendored
View File

@ -34,7 +34,7 @@ interface github {
*
* example: ['my-project1', 'my-project2']
*/
projects: Array;
projects: Array<string>;
};
}