UNPKG

dexie-react-hooks

Version:

React hooks for reactive data fetching using Dexie.js

85 lines 2.35 kB
{ "name": "dexie-react-hooks", "version": "4.2.0", "description": "React hooks for reactive data fetching using Dexie.js", "main": "dist/dexie-react-hooks.js", "typings": "dist/dexie-react-hooks.d.ts", "exports": { "import": "./dist/dexie-react-hooks.mjs", "require": "./dist/dexie-react-hooks.js", "default": "./dist/dexie-react-hooks.js" }, "just-build": { "default": [ "rollup -c rollup.config.js", "tsc --emitDeclarationOnly" ], "run-tests": [ "karma start test/karma.conf.js --single-run" ], "build-tests": [ "#just-build tests", "cd test", "webpack" ], "dexie": [ "cd ../..", "pnpm run build" ] }, "repository": { "type": "git", "url": "git+https://github.com/dexie/Dexie.js.git" }, "keywords": [ "react", "hooks", "indexeddb", "storage", "data-fetching", "reactive", "subscription", "dexie" ], "author": "David Fahlander <https://github.com/dfahlander>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/dexie/Dexie.js/issues" }, "homepage": "https://dexie.org", "peerDependencies": { "@types/react": ">=16", "dexie": ">=4.2.0-alpha.1 <5.0.0", "react": ">=16" }, "devDependencies": { "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-node-resolve": "^11.1.1", "@rollup/plugin-typescript": "^8.1.1", "@types/qunit": "^2.9.6", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "just-build": "^0.9.24", "qunit": "^2.12.0", "react": "^17.0.1", "react-dom": "^17.0.1", "rollup": "^2.40.0", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "ts-loader": "^8.0.17", "typescript": "^5.3.3", "webpack": "^5.74.0", "webpack-cli": "^4.5.0", "dexie": ">=4.2.0-alpha.1 <5.0.0", "y-dexie": ">=4.2.0-alpha.1 <5.0.0", "yjs": "^13.6.27" }, "scripts": { "test": "just-build build-tests && just-build run-tests", "build": "just-build", "test:ltcloud": "cross-env LAMBDATEST=true pnpm run test:ltTunnel & sleep 10 && pnpm run test; UNIT_STATUS=$?; kill $(cat tunnel.pid); exit $UNIT_STATUS", "test:ltTunnel": "node ../../test/lt-local" } }