-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
package.json
64 lines (64 loc) 路 1.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
{
"name": "@tanstack/eslint-plugin-query",
"version": "5.0.0-alpha.54",
"description": "ESLint plugin for TanStack Query",
"author": "Eliya Cohen",
"license": "MIT",
"repository": "tanstack/query",
"homepage": "https://tanstack.com/query",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"type": "module",
"types": "build/lib/index.d.ts",
"main": "build/lib/index.cjs",
"module": "build/lib/index.js",
"exports": {
".": {
"types": "./build/lib/index.d.ts",
"import": "./build/lib/index.js",
"require": "./build/lib/index.cjs",
"default": "./build/lib/index.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rimraf ./build && rimraf ./coverage",
"dev": "tsup --watch --sourcemap",
"test:eslint": "eslint --ext .ts,.tsx ./src",
"test:types": "tsc --noEmit",
"test:lib": "vitest run --coverage",
"test:lib:dev": "pnpm run test:lib --watch",
"test:build": "publint --strict",
"build": "tsup --minify --dts"
},
"files": [
"build"
],
"tsup": {
"entry": [
"src/index.ts"
],
"external": [
"eslint"
],
"format": [
"cjs",
"esm"
],
"clean": true,
"bundle": true,
"outDir": "build/lib"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@typescript-eslint/utils": "^5.54.0",
"eslint": "^8.34.0",
"tsup": "^6.7.0"
},
"peerDependencies": {
"eslint": "^8.0.0"
}
}