From 5d5790ab1978edb0e290e914cb41b4d3548380b6 Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Sun, 8 Oct 2017 14:11:00 +0530 Subject: [PATCH] fix: add main and typings in package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e051fb..3971a10 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vue-component-compiler", "version": "3.0.0", "description": "bundler agnostic API for compiling Vue SFC", - "main": "index.js", + "main": "src/index.js", "scripts": { "test": "jest", "lint": "eslint src test", @@ -22,6 +22,7 @@ "bugs": { "url": "https://github.com/vuejs/vue-component-compiler/issues" }, + "typings": "index.d.ts", "homepage": "https://github.com/vuejs/vue-component-compiler#readme", "devDependencies": { "eslint": "^3.19.0",