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

package.json

98 lines2.8 KB

1{
2 "name": "@tanstack/react-form",
3 "version": "0.26.4",
4 "description": "Powerful, type-safe forms for React.",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/form.git",
10 "directory": "packages/react-form"
11 },
12 "homepage": "https://tanstack.com/form",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "scripts": {
18 "clean": "rimraf ./dist && rimraf ./coverage",
19 "test:eslint": "eslint ./src ./tests",
20 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
21 "test:types:ts49": "node ../../node_modules/typescript49/lib/tsc.js -p tsconfig.legacy.json",
22 "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json",
23 "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
24 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
25 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
26 "test:types:ts54": "tsc",
27 "test:lib": "vitest",
28 "test:lib:dev": "pnpm run test:lib --watch",
29 "test:build": "publint --strict",
30 "build": "vite build"
31 },
32 "type": "module",
33 "types": "dist/esm/index.d.ts",
34 "main": "dist/cjs/index.cjs",
35 "module": "dist/esm/index.js",
36 "exports": {
37 ".": {
38 "import": {
39 "types": "./dist/esm/index.d.ts",
40 "default": "./dist/esm/index.js"
41 },
42 "require": {
43 "types": "./dist/cjs/index.d.cts",
44 "default": "./dist/cjs/index.cjs"
45 }
46 },
47 "./nextjs": {
48 "import": {
49 "types": "./dist/esm/nextjs/index.d.ts",
50 "default": "./dist/esm/nextjs/index.js"
51 },
52 "require": {
53 "types": "./dist/cjs/nextjs/index.d.cts",
54 "default": "./dist/cjs/nextjs/index.cjs"
55 }
56 },
57 "./start": {
58 "import": {
59 "types": "./dist/esm/start/index.d.ts",
60 "default": "./dist/esm/start/index.js"
61 },
62 "require": {
63 "types": "./dist/cjs/start/index.d.cts",
64 "default": "./dist/cjs/start/index.cjs"
65 }
66 },
67 "./package.json": "./package.json"
68 },
69 "sideEffects": false,
70 "files": [
71 "dist",
72 "src"
73 ],
74 "dependencies": {
75 "@remix-run/node": "^2.10.2",
76 "@tanstack/form-core": "workspace:*",
77 "@tanstack/react-store": "^0.5.5",
78 "decode-formdata": "^0.7.5"
79 },
80 "devDependencies": {
81 "@tanstack/start": "^1.45.0",
82 "@types/react": "^18.3.3",
83 "@types/react-dom": "^18.3.0",
84 "@vitejs/plugin-react": "^4.3.1",
85 "react": "^18.3.1",
86 "react-dom": "^18.3.1",
87 "vite": "^5.3.3"
88 },
89 "peerDependencies": {
90 "@tanstack/start": "^1.43.13",
91 "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
92 },
93 "peerDependenciesMeta": {
94 "@tanstack/start": {
95 "optional": true
96 }
97 }