diff --git a/package.json b/package.json index b4c7bc1..17b1138 100644 --- a/package.json +++ b/package.json @@ -3,18 +3,16 @@ "version": "3.2.3", "description": "A package to parse WhatsApp chats with Node.js or in the browser 💬", "main": "dist/whatsapp-chat-parser.js", - "types": "types/index.d.ts", + "types": "dist/index.d.ts", "files": [ - "types/", "dist/" ], "scripts": { - "build": "npm run clean && npm run build:types && rollup -c", - "build:types": "tsc --emitDeclarationOnly", + "build": "npm run clean && rollup -c", "test": "jest", "test:watch": "jest --watchAll", "test:coverage": "npm t -- --coverage", - "clean": "rimraf dist/ types/", + "clean": "rimraf dist/", "lint": "eslint .", "format": "prettier --write .", "format:staged": "pretty-quick --staged",