-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
143 lines (143 loc) · 3.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@pinia/colada",
"type": "module",
"version": "0.12.1",
"packageManager": "pnpm@9.12.3",
"description": "The smart data fetching layer for Pinia",
"publishConfig": {
"access": "public"
},
"author": {
"name": "Eduardo San Martin Morote",
"email": "posva13@gmail.com"
},
"license": "MIT",
"funding": "https://github.com/sponsors/posva",
"homepage": "https://github.com/posva/pinia-colada#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/posva/pinia-colada.git"
},
"bugs": {
"url": "https://github.com/posva/pinia-colada/issues"
},
"keywords": [
"pinia",
"plugin",
"data",
"fetching",
"query",
"mutation",
"cache",
"layer"
],
"sideEffects": false,
"exports": {
".": {
"types": {
"import": "./dist/index.d.ts",
"require": "./dist/index.d.cts"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"unpkg": "dist/index.global.js",
"jsdelivr": "dist/index.global.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"files": [
"LICENSE",
"README.md",
"dist"
],
"scripts": {
"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",
"prepublishOnly": "pnpm run build",
"release": "node scripts/release.mjs",
"test": "pnpm run build && pnpm run test:cov && pnpm run build:plugins && pnpm run test:types",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test:types": "tsc --build ./tsconfig.json",
"test:cov": "vitest run --coverage",
"build": "tsup",
"build:plugins": "pnpm run --stream --parallel --filter './plugins/*' --filter './nuxt' build",
"size": "size-limit",
"prepare": "simple-git-hooks"
},
"size-limit": [
{
"name": "useQuery only",
"path": "dist/index.js",
"import": "{ useQuery, PiniaColada }",
"ignore": [
"vue",
"pinia"
]
},
{
"name": "useQuery + useMutation",
"path": "dist/index.js",
"import": "{ useQuery, PiniaColada, useMutation }",
"ignore": [
"vue",
"pinia"
]
}
],
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@pinia/colada": "workspace:*",
"@shikijs/vitepress-twoslash": "^1.22.2",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/node": "^22.8.7",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vue/test-utils": "^2.4.6",
"chalk": "^5.3.0",
"conventional-changelog-cli": "^4.1.0",
"enquirer": "^2.4.1",
"eslint": "^9.14.0",
"execa": "^9.5.1",
"globby": "^14.0.2",
"happy-dom": "^15.8.3",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"p-series": "^3.0.0",
"pinia": "^2.2.6",
"prettier": "^3.3.3",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.6",
"tsup": "^8.3.5",
"typedoc": "^0.26.11",
"typedoc-plugin-markdown": "^4.2.10",
"typescript": "~5.6.3",
"vitepress": "1.4.5",
"vitest": "^2.1.4",
"vue": "^3.5.12"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.{js,mjs,json,cjs,md,ts}": [
"eslint --fix"
]
}
}