2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 01:40:34 +03:00

feat(ts): update types for v2 (#338)

* chore: update types for v2

* fix: script.type shouldnt be required

fix: define meta.http-equiv as string, too many options to list

* chore: improve types

* chore: update typescript dependency

* chore: remove unnecessary gitignore

* chore: add metainfocomputed type

* chore: use camelcase for type

* chore: add interfaces for metaInfo properties

* chore: add missing body boolen for script types

* chore: include all type files on build

* chore: remove unused import
This commit is contained in:
Pim
2019-04-03 13:41:37 +02:00
committed by GitHub
parent 111c76970b
commit 7b85ff22f5
7 changed files with 487 additions and 424 deletions
+4 -3
View File
@@ -35,8 +35,7 @@
"files": [
"lib",
"es",
"types/index.d.ts",
"types/vue.d.ts"
"types/*.d.ts"
],
"main": "lib/vue-meta.common.js",
"web": "lib/vue-meta.js",
@@ -57,7 +56,8 @@
"test": "yarn test:unit && yarn test:e2e-ssr && yarn test:e2e-browser",
"test:e2e-ssr": "jest test/e2e/ssr",
"test:e2e-browser": "jest test/e2e/browser",
"test:unit": "jest test/unit"
"test:unit": "jest test/unit",
"test:types": "tsc -p types/test"
},
"dependencies": {
"deepmerge": "^3.2.0"
@@ -113,6 +113,7 @@
"selenium-webdriver": "^4.0.0-alpha.1",
"standard-version": "^5.0.2",
"tib": "^0.4.0",
"typescript": "^3.4.1",
"vue": "^2.6.10",
"vue-jest": "^3.0.4",
"vue-loader": "^15.7.0",