Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

package.json

64 lines1.5 KB

1{
2 "name": "@tanstack/eslint-plugin-query",
3 "version": "5.0.0-alpha.53",
4 "description": "ESLint plugin for TanStack Query",
5 "author": "Eliya Cohen",
6 "license": "MIT",
7 "repository": "tanstack/query",
8 "homepage": "https://tanstack.com/query",
9 "funding": {
10 "type": "github",
11 "url": "https://github.com/sponsors/tannerlinsley"
12 },
13 "type": "module",
14 "types": "build/lib/index.d.ts",
15 "main": "build/lib/index.cjs",
16 "module": "build/lib/index.js",
17 "exports": {
18 ".": {
19 "types": "./build/lib/index.d.ts",
20 "import": "./build/lib/index.js",
21 "require": "./build/lib/index.cjs",
22 "default": "./build/lib/index.cjs"
23 },
24 "./package.json": "./package.json"
25 },
26 "scripts": {
27 "clean": "rimraf ./build && rimraf ./coverage",
28 "dev": "tsup --watch --sourcemap",
29 "test:eslint": "eslint --ext .ts,.tsx ./src",
30 "test:types": "tsc --noEmit",
31 "test:lib": "vitest run --coverage",
32 "test:lib:dev": "pnpm run test:lib --watch",
33 "test:build": "publint",
34 "build": "tsup --minify --dts"
35 },
36 "files": [
37 "build"
38 ],
39 "tsup": {
40 "entry": [
41 "src/index.ts"
42 ],
43 "external": [
44 "eslint"
45 ],
46 "format": [
47 "cjs",
48 "esm"
49 ],
50 "clean": true,
51 "bundle": true,
52 "outDir": "build/lib"
53 },
54 "devDependencies": {
55 "@typescript-eslint/eslint-plugin": "^5.54.0",
56 "@typescript-eslint/parser": "^5.54.0",
57 "@typescript-eslint/utils": "^5.54.0",
58 "eslint": "^8.34.0",
59 "tsup": "^6.7.0"
60 },
61 "peerDependencies": {
62 "eslint": "^8.0.0"
63 }