UNPKG

vue-lazy-hydration

Version:

Lazy Hydration of Server-Side Rendered Vue.js Components

77 lines (76 loc) 3.58 kB
{ "name": "vue-lazy-hydration", "version": "2.0.0-beta.4", "description": "Lazy Hydration of Server-Side Rendered Vue.js Components", "keywords": [ "gridsome", "hydration", "nuxt", "ssr", "vue" ], "author": "Markus Oberlehner", "homepage": "https://github.com/maoberlehner/vue-lazy-hydration", "license": "MIT", "scripts": { "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-hydrate-never' test/performance/entry-hydrate-never.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" }, "devDependencies": { "@avalanche/eslint-config": "^4.0.0", "@babel/core": "^7.12.3", "@babel/preset-env": "^7.12.1", "@vue/cli-service": "^4.5.9", "babel-eslint": "^10.1.0", "cli-table3": "^0.6.0", "concurrently": "^5.3.0", "eslint": "^7.13.0", "eslint-plugin-compat": "^3.8.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-markdown": "^1.0.2", "eslint-plugin-vue": "^7.1.0", "jest": "^26.6.3", "jest-puppeteer": "^4.4.0", "lighthouse": "^6.4.1", "marked": "^1.2.4", "puppeteer": "^5.5.0", "rollup": "^2.33.3", "rollup-plugin-babel": "^4.4.0", "serve": "^11.3.2", "uglify-es": "^3.3.9", "vue": "^2.6.12", "vue-server-renderer": "^2.6.12", "vue-template-compiler": "^2.6.12" }, "main": "dist/LazyHydrate.js", "module": "dist/LazyHydrate.esm.js", "repository": { "type": "git", "url": "https://github.com/maoberlehner/vue-lazy-hydration" }, "bugs": { "url": "https://github.com/maoberlehner/vue-lazy-hydration/issues" }, "browserslist": [ "> 0.5%", "not ie <= 10", "not op_mini all" ] }