UNPKG

quicklink

Version:

Faster subsequent page-loads by prefetching in-viewport links during idle time

83 lines (82 loc) 2.63 kB
{ "name": "quicklink", "version": "3.0.1", "description": "Faster subsequent page-loads by prefetching in-viewport links during idle time", "repository": { "type": "git", "url": "git+https://github.com/GoogleChromeLabs/quicklink.git" }, "homepage": "https://getquick.link/", "bugs": { "url": "https://github.com/GoogleChromeLabs/quicklink/issues" }, "author": "addyosmani <addyosmani@gmail.com>", "license": "Apache-2.0", "main": "dist/quicklink.js", "module": "dist/quicklink.mjs", "umd:main": "dist/quicklink.umd.js", "unpkg": "dist/quicklink.umd.js", "files": [ "dist" ], "scripts": { "lint": "eslint --report-unused-disable-directives --ext .js,.mjs .", "lint-fix": "npm run lint -- --fix", "fix": "npm run lint -- --fix", "start": "sirv --dev --no-clear --no-logs --host 127.0.0.1 --port 8080", "uvu": "uvu test", "test": "npm-run-all build-all --parallel --race start uvu", "build": "microbundle src/index.mjs --no-sourcemap --external none", "build-plugin": "microbundle src/chunks.mjs --no-sourcemap --external none -o dist/react", "build-react-chunks": "babel src/react-chunks.js --out-file dist/react/hoc.js", "build-all": "npm-run-all --parallel build build-plugin build-react-chunks", "prepublishonly": "npm run build-all", "size": "size-limit", "changelog": "npm run conventional-changelog -i CHANGELOG.md -s -r 0", "release": "cross-env-shell \"npm run build-all && git commit -am $npm_package_version && git tag $npm_package_version && git push --follow-tags\"" }, "keywords": [ "prefetch", "performance", "fetch", "intersectionobserver", "background", "speed" ], "dependencies": { "route-manifest": "^1.0.0", "throttles": "^1.0.1" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18 || ^19", "react-dom": "^16.8.0 || ^17 || ^18 || ^19" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@size-limit/file": "^11.2.0", "conventional-changelog-cli": "^5.0.0", "cross-env": "^7.0.3", "eslint": "^8.57.1", "eslint-config-google": "^0.14.0", "eslint-plugin-react": "^7.37.4", "microbundle": "^0.15.1", "npm-run-all2": "^7.0.2", "puppeteer": "^24.4.0", "react": "^19.0.0", "react-dom": "^19.0.0", "sirv-cli": "^3.0.1", "size-limit": "^11.2.0", "uvu": "^0.5.6" } }