Просмотр исходного кода

Update package.json (#3579)

For TypeScript and Typings
Kaorun343 9 лет назад
Родитель
Сommit
5a03f52b10
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      package.json

+ 7 - 1
package.json

@@ -3,11 +3,17 @@
   "version": "2.0.0-rc.4",
   "description": "Reactive, component-oriented view layer for modern web interfaces.",
   "main": "dist/vue.common.js",
+  "typings": "index.d.ts",
   "files": [
     "dist/vue.common.js",
     "dist/vue.js",
     "dist/vue.min.js",
-    "src"
+    "src",
+    "types/index.d.ts",
+    "types/options.d.ts",
+    "types/plugin.d.ts",
+    "types/vnode.d.ts",
+    "types/vue.d.ts"
   ],
   "scripts": {
     "dev": "TARGET=web-standalone-dev rollup -w -c build/config.js",