vue-lazy-hydration
v1.0.0-beta.13 hydration nuxt ssr vue
scripts:umd
rollup --config --output.format umd --name vue-lazy-hydration --output.file dist/LazyHydrate.js src/LazyHydrate.js
scripts:es
rollup --config --output.format es --name vue-lazy-hydration --output.file dist/LazyHydrate.esm.js src/LazyHydrate.js
scripts:minify
uglifyjs --compress --mangle --comments --output dist/LazyHydrate.min.js dist/LazyHydrate.js && uglifyjs --compress --mangle --comments --output dist/LazyHydrate.esm.min.js dist/LazyHydrate.esm.js
scripts
yarn run scripts:umd && yarn run scripts:es && yarn run scripts:minify
build
yarn run scripts
lint:scripts
eslint --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
test:perf:compile
npx vue-cli-service build --target lib --no-clean --dest test/performance/dist --name 'entry-reference' test/performance/entry-reference.js && npx vue-cli-service build --target lib --no-clean --dest test/performance/dist --name 'entry-ssr-only' test/performance/entry-ssr-only.js
test:perf:render
node test/performance/render.js
test:perf:build
npm run build && npm run test:perf:compile && npm run test:perf:render
test:perf:serve
serve test/performance/dist
test:perf
concurrently 'npm:test:perf:serve' 'node test/performance/benchmark.js' --kill-others
test:integration:compile
npx vue-cli-service build --target lib --no-clean --dest test/integration/dist --name 'entry-integration' test/integration/entry-integration.js
test:integration:render
node test/integration/render.js
test:integration:build
npm run build && npm run test:integration:compile && npm run test:integration:render
test:integration:serve
serve test/integration/dist
test:integration
concurrently 'npm:test:integration:serve' 'jest test/integration/integration.test.js' --kill-others
prepublishOnly
yarn run lint && yarn run build
npm i [email protected]
Metadata
- MIT
- Whatever
- Markus Oberlehner
- released 7/16/2020