pinia-cache
Version:
Cache dispatched actions in memory and prevent repeated requests and heavy actions.
89 lines (88 loc) • 2.24 kB
JSON
{
"name": "pinia-cache",
"version": "1.0.0",
"description": "Cache dispatched actions in memory and prevent repeated requests and heavy actions.",
"main": "dist/pinia-cache.cjs",
"module": "dist/pinia-cache.mjs",
"umd:main": "dist/pinia-cache.umd.js",
"types": "dist/pinia-cache.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/RuslanGetmansky/pinia-cache.git"
},
"author": {
"name": "Ruslan Getmansky",
"email": "ruslan.getmansky@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/RuslanGetmansky/pinia-cache",
"files": [
"dist/"
],
"scripts": {
"test": "jest",
"cover": "jest --coverage",
"lint": "eslint src/pinia-cache.ts",
"build": "rollup --config",
"prepublishOnly": "npm run lint && npm run build && npm run cover"
},
"keywords": [
"pinia",
"pinia-plugin",
"cache",
"cache-actions"
],
"devDependencies": {
"@pinia/testing": "^0.0.14",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"@vue/test-utils": "^2.0.2",
"esbuild": "^0.16.14",
"eslint": "8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.3",
"pinia": "^2.0.17",
"prettier": "^2.6.2",
"rollup": "^3.9.1",
"rollup-plugin-dts": "^5.1.0",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-typescript2": "^0.33.0",
"ts-jest": "^29.0.0",
"typescript": "^4.8.2",
"vue": "^3.2.39"
},
"jest": {
"collectCoverageFrom": [
"src/pinia-cache.ts"
],
"testMatch": [
"<rootDir>/__test__/*.test.ts"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testEnvironmentOptions": {
"customExportConditions": [
"node",
"node-addons"
]
}
},
"dependencies": {
"vue-demi": "^0.13.11"
},
"peerDependencies": {
"@vue/composition-api": "^1.7.0",
"vue": "^2.0.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
}
}