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

package.json

109 lines3.1 KB

1{
2 "name": "@tanstack/react-form",
3 "version": "0.41.0",
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:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
22 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
23 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
24 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
25 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
26 "test:types:ts56": "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 "./remix": {
58 "import": {
59 "types": "./dist/esm/remix/index.d.ts",
60 "default": "./dist/esm/remix/index.js"
61 },
62 "require": {
63 "types": "./dist/cjs/remix/index.d.cts",
64 "default": "./dist/cjs/remix/index.cjs"
65 }
66 },
67 "./start": {
68 "import": {
69 "types": "./dist/esm/start/index.d.ts",
70 "default": "./dist/esm/start/index.js"
71 },
72 "require": {
73 "types": "./dist/cjs/start/index.d.cts",
74 "default": "./dist/cjs/start/index.cjs"
75 }
76 },
77 "./package.json": "./package.json"
78 },
79 "sideEffects": false,
80 "files": [
81 "dist",
82 "src"
83 ],
84 "dependencies": {
85 "@remix-run/node": "^2.15.0",
86 "@tanstack/form-core": "workspace:*",
87 "@tanstack/react-store": "^0.7.0",
88 "decode-formdata": "^0.8.0"
89 },
90 "devDependencies": {
91 "@tanstack/start": "^1.81.1",
92 "@types/react": "^18.3.3",
93 "@types/react-dom": "^18.3.0",
94 "@vitejs/plugin-react": "^4.3.3",
95 "eslint-plugin-react-compiler": "^19.0.0-beta-0dec889-20241115",
96 "react": "^18.3.1",
97 "react-dom": "^18.3.1",
98 "vite": "^5.4.11"
99 },
100 "peerDependencies": {
101 "@tanstack/start": "^1.43.13",
102 "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
103 },
104 "peerDependenciesMeta": {
105 "@tanstack/start": {
106 "optional": true
107 }
108 }