forked from posva/pinia-colada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.24 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
{
"name": "@pinia/colada",
"type": "module",
"version": "0.6.0",
"packageManager": "[email protected]",
"description": "The smart data fetching layer for Pinia",
"publishConfig": {
"access": "public"
},
"author": {
"name": "Eduardo San Martin Morote",
"email": "[email protected]"
},
"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 --typecheck",
"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": "standard-version",
"test": "pnpm run test:cov && pnpm run test:types",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test:types": "tsc --build ./tsconfig.json",
"test:cov": "vitest run --typecheck --coverage",
"build": "tsup",
"size": "size-limit",
"prepare": "simple-git-hooks"
},
"size-limit": [
{
"name": "useQuery only",
"path": "dist/index.js",
"import": "{ useQuery, QueryPlugin }",
"ignore": [
"vue",
"pinia"
]
},
{
"name": "useQuery + useMutation",
"path": "dist/index.js",
"import": "{ useQuery, QueryPlugin, useMutation }",
"ignore": [
"vue",
"pinia"
]
}
],
"devDependencies": {
"@antfu/eslint-config": "^2.18.1",
"@pinia/colada": "workspace:*",
"@shikijs/vitepress-twoslash": "^1.6.0",
"@size-limit/preset-small-lib": "^11.1.4",
"@types/node": "^20.12.12",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vue/test-utils": "^2.4.6",
"eslint": "^9.3.0",
"happy-dom": "^14.11.0",
"lint-staged": "^15.2.4",
"pinia": "^2.1.7",
"prettier": "^3.2.5",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.4",
"standard-version": "^9.5.0",
"tsup": "^8.0.2",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.2",
"typescript": "~5.4.5",
"vitepress": "1.2.2",
"vitest": "^1.6.0",
"vue": "^3.4.27"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.{js,mjs,json,cjs,md,ts}": [
"eslint --fix"
]
}
}