diff --git a/.npmignore b/.npmignore index 95e2a7a..4b5f2ef 100644 --- a/.npmignore +++ b/.npmignore @@ -10,3 +10,5 @@ README.md .gitignore .eslintignore .eslintrc.js +README.md +LICENSE \ No newline at end of file diff --git a/package.json b/package.json index 42b0acb..e835876 100755 --- a/package.json +++ b/package.json @@ -2,8 +2,9 @@ "name": "dynamic-class-list", "version": "2.0.1", "description": "A js package to get a string of dynamic and conditional css classes", - "main": "dist/index.js", - "module": "dist/index.esm.js", + "main": "./dist/index.js", + "module": "./dist/index.esm.js", + "types": "./dist/index.d.ts", "scripts": { "build": "rollup -c", "build-watch": "rollup -c -w",