vue-lazy-hydration
v0.1.0-alpha.2 hydration nuxt ssr vue
scripts:umd
rollup --config --output.format umd --name vue-lazy-hydration --output.file dist/index.js src/index.js
scripts:es
rollup --config --output.format es --name vue-lazy-hydration --output.file dist/index.esm.js src/index.js
scripts:minify
uglifyjs --compress --mangle --comments --output dist/index.min.js dist/index.js && uglifyjs --compress --mangle --comments --output dist/index.esm.min.js dist/index.esm.js
scripts
yarn run scripts:umd && yarn run scripts:es && yarn run scripts:minify
build
yarn run scripts
lint:scripts
eslint --fix --ignore-path .gitignore .
lint:scripts-md
eslint --config .eslintrc-md.json --ext md --ignore-path .gitignore .
lint
yarn run lint:scripts && yarn run lint:scripts-md
prepublishOnly
yarn run lint && yarn run build
npm i [email protected]
Metadata
- MIT
- Whatever
- Markus Oberlehner
- released 1/12/2019