rc-localforage
Version:
rc-localforage 是 localForage 在 React 的封装包,它提供了一种更符合 React 的使用风格(functional component style),同时保持了 localForage 的大部分功能
55 lines (54 loc) • 1.3 kB
JSON
{
"name": "rc-localforage",
"version": "0.1.3",
"description": "",
"main": "./dist/index.js",
"umd": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "chenmijiang",
"homepage": "https://github.com/chenmijiang/rc-localforage",
"license": "ISC",
"keywords": [
"localstorage",
"localforage",
"react",
"react-component",
"react-hooks",
"react-localforage",
"rc-localforage"
],
"files": [
"readme.md",
"dist/",
"src/"
],
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/preset-react": "^7.22.15",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
"@types/react": "^18.2.21",
"esbuild": "^0.19.2",
"rollup": "^3.29.0",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-esbuild": "^5.0.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"dependencies": {
"localforage": "^1.10.0"
}
}