diff --git a/.npmignore b/.npmignore index 1c057fa..a3cdbd6 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ .* +src/ test/ tsconfig.json tsconfig-build.json diff --git a/package.json b/package.json index 229eb5f..1273e50 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.5.0", "description": "Medium's like reading time estimation.", "main": "dist/index.js", - "types": "src/types.d.ts", + "types": "dist/index.d.ts", "scripts": { "lint": "eslint --cache \"**/*.{js,ts}\"", "spec": "ts-mocha test/*.ts", @@ -21,7 +21,9 @@ "words per minute" ], "author": "Nicolas Gryman (http://ngryman.sh)", - "contributors": ["Joshua Chen (https://joshcena.com)"], + "contributors": [ + "Joshua Chen (https://joshcena.com)" + ], "license": "MIT", "devDependencies": { "@types/chai": "^4.2.21",