Skip to content
Permalink
Browse files

fix: Add @znck/prop-types as dependecy

fixes #2 #3
  • Loading branch information
znck committed Jan 26, 2019
1 parent 2ab1735 commit da1f273fbf9743f998dcd43e56459ff82040ae86
Showing with 9 additions and 5 deletions.
  1. +2 −0 README.md
  2. +3 −1 package.json
  3. +4 −4 yarn.lock
@@ -14,6 +14,8 @@

Lazy hydration for Vue SSR.

> NOTE: This project uses [@znck/prop-types](https://github.com/znck/prop-types) which generates tree shakeable component prop definitions but it requires `process.env.NODE_ENV` to replaced with `"production"` to work effectively. See [@znck/prop-types](https://github.com/znck/prop-types#introduction)'s documentation to know more.
## Usage

### Installation
@@ -27,7 +27,6 @@
"@babel/preset-env": "^7.2.3",
"@vue/server-test-utils": "^1.0.0-beta.28",
"@vue/test-utils": "^1.0.0-beta.28",
"@znck/prop-types": "^0.4.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"jest": "^23.6.0",
@@ -68,5 +67,8 @@
".*\\.(vue)$": "vue-jest",
"^.+\\.js$": "babel-jest"
}
},
"dependencies": {
"@znck/prop-types": "^0.5.1"
}
}
@@ -649,10 +649,10 @@
dom-event-types "^1.0.0"
lodash "^4.17.4"

"@znck/prop-types@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@znck/prop-types/-/prop-types-0.4.0.tgz#4f368f90b8c55c60b0310a70d696c13fbc2260ad"
integrity sha512-rz849CdTcFK/PfN9+t9ZTkuxySCAe6H8TOalIXp+A2+DFESHSeqa2OZYmmHN7knBuUOsXodAp+1PlFJhmtC/Yg==
"@znck/prop-types@^0.5.1":
version "0.5.1"
resolved "https://registry.yarnpkg.com/@znck/prop-types/-/prop-types-0.5.1.tgz#513260f133edb19214b26d8ed425cc3acaf31250"
integrity sha512-hrpJRKusXMhsef0yfkje9LIpdbZLfoDRfYR/tvUtCXOXOvWsyV5j537hLqKIvdqk6qn9xPqnI/22QMDqQUXGAw==
dependencies:
vue "2.*"

0 comments on commit da1f273

Please sign in to comment.
You can’t perform that action at this time.