@pinia/colada
Version:
The smart data fetching layer for Vue.js
149 lines • 4.08 kB
JSON
{
"name": "@pinia/colada",
"version": "1.3.1",
"description": "The smart data fetching layer for Vue.js",
"keywords": [
"cache",
"data",
"fetching",
"layer",
"mutation",
"pinia",
"plugin",
"query"
],
"homepage": "https://pinia-colada.esm.dev",
"bugs": {
"url": "https://github.com/posva/pinia-colada/issues"
},
"license": "MIT",
"author": {
"name": "Eduardo San Martin Morote",
"email": "posva13@gmail.com"
},
"repository": "posva/pinia-colada",
"funding": "https://github.com/sponsors/posva",
"files": [
"dist",
"LICENSE",
"README.md",
"codemods/rules"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"exports": "./dist/index.mjs",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@ast-grep/cli": "^0.42.1",
"@clack/prompts": "npm:@posva/clack-prompts@^1.2.1",
"@playwright/test": "^1.58.1",
"@shikijs/vitepress-twoslash": "^4.0.2",
"@size-limit/esbuild-why": "^12.1.0",
"@size-limit/preset-small-lib": "^12.1.0",
"@types/node": "^24.12.2",
"@types/semver": "^7.7.1",
"@typescript/native-preview": "7.0.0-dev.20260508.1",
"@vitejs/plugin-vue": "^6.0.6",
"@vitest/coverage-v8": "^4.1.5",
"@vitest/ui": "^4.1.5",
"@vue/test-utils": "^2.4.10",
"conventional-changelog": "^7.2.0",
"conventional-changelog-angular": "^8.3.1",
"happy-dom": "^20.9.0",
"lint-staged": "^17.0.2",
"oxfmt": "^0.48.0",
"oxlint": "^1.63.0",
"oxlint-plugin-posva": "0.0.2",
"pinia": "^3.0.4",
"semver": "^7.7.4",
"simple-git-hooks": "^2.13.1",
"size-limit": "^12.1.0",
"tsdown": "^0.22.0",
"typedoc": "^0.28.19",
"typedoc-plugin-markdown": "^4.11.0",
"typedoc-vitepress-theme": "^1.1.2",
"typescript": "~6.0.3",
"vitepress": "1.6.4",
"vitepress-plugin-llms": "^1.12.1",
"vitest": "^4.1.5",
"vue": "^3.5.33",
"@pinia/colada": "1.3.1",
"@posva/test-utils": "0.0.0"
},
"peerDependencies": {
"pinia": "^2.2.6 || ^3.0.0",
"vue": "^3.5.17"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*": "oxfmt --no-error-on-unmatched-pattern",
"*.{js,jsx,ts,tsx,mjs,cjs}": "oxlint --fix"
},
"size-limit": [
{
"name": "useQuery only from source",
"path": "src/index.ts",
"import": "{ useQuery, PiniaColada }",
"ignore": [
"vue",
"pinia",
"@vue/devtools-api"
]
},
{
"name": "useQuery only",
"path": "dist/index.mjs",
"import": "{ useQuery, PiniaColada }",
"ignore": [
"vue",
"pinia",
"@vue/devtools-api"
]
},
{
"name": "useQuery + useMutation",
"path": "dist/index.mjs",
"import": "{ useQuery, PiniaColada, useMutation }",
"ignore": [
"vue",
"pinia",
"@vue/devtools-api"
]
}
],
"scripts": {
"nuxt:prepare": "pnpm run --filter './nuxt' dev:prepare",
"dev": "vitest --ui",
"docs": "vitepress dev docs",
"docs:build": "pnpm run docs:api:build && vitepress build docs",
"docs:api:build": "node ./scripts/run-typedoc.js",
"play": "pnpm -C playground dev",
"release": "node scripts/release.ts",
"test": "pnpm run build && pnpm run test:cov && pnpm run test:e2e:hmr && pnpm run build:all && pnpm run test:types && pnpm run codemods:test && pnpm run docs:build",
"fmt": "oxfmt",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"test:types": "tsgo --build ./tsconfig.json",
"test:cov": "vitest run --coverage",
"test:e2e:hmr": "playwright test",
"build": "tsdown",
"build:all": "pnpm run --stream --parallel --filter './plugins/*' --filter './nuxt' --filter './devtools' build",
"size": "size-limit",
"codemods:test": "ast-grep test"
}
}