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

package.json

123 lines3.7 KB

1{
2 "name": "@tanstack/solid-router",
3 "version": "1.132.21",
4 "description": "Modern and scalable routing for Solid applications",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/router.git",
10 "directory": "packages/solid-router"
11 },
12 "homepage": "https://tanstack.com/router",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "keywords": [
18 "solidjs",
19 "location",
20 "router",
21 "routing",
22 "async",
23 "async router",
24 "typescript"
25 ],
26 "scripts": {
27 "clean": "rimraf ./dist && rimraf ./coverage",
28 "test:eslint": "eslint",
29 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
30 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
31 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
32 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
33 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js -p tsconfig.legacy.json",
34 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js -p tsconfig.legacy.json",
35 "test:types:ts59": "tsc -p tsconfig.legacy.json",
36 "test:unit": "vitest && vitest --mode server",
37 "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests",
38 "test:perf": "vitest bench",
39 "test:perf:dev": "pnpm run test:perf --watch --hideSkippedTests",
40 "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
41 "build": "vite build && tsc -p tsconfig.build.json"
42 },
43 "type": "module",
44 "types": "dist/esm/index.d.ts",
45 "main": "dist/cjs/index.cjs",
46 "module": "dist/esm/index.js",
47 "exports": {
48 ".": {
49 "solid": {
50 "types": "./dist/source/index.d.ts",
51 "default": "./dist/source/index.jsx"
52 },
53 "import": {
54 "types": "./dist/esm/index.d.ts",
55 "default": "./dist/esm/index.js"
56 },
57 "require": {
58 "types": "./dist/cjs/index.d.cts",
59 "default": "./dist/cjs/index.cjs"
60 }
61 },
62 "./ssr/server": {
63 "solid": {
64 "types": "./dist/source/ssr/server.d.ts",
65 "default": "./dist/source/ssr/server.js"
66 },
67 "import": {
68 "types": "./dist/esm/ssr/server.d.ts",
69 "default": "./dist/esm/ssr/server.js"
70 },
71 "require": {
72 "types": "./dist/cjs/ssr/server.d.cts",
73 "default": "./dist/cjs/ssr/server.cjs"
74 }
75 },
76 "./ssr/client": {
77 "solid": {
78 "types": "./dist/source/ssr/client.d.ts",
79 "default": "./dist/source/ssr/client.js"
80 },
81 "import": {
82 "types": "./dist/esm/ssr/client.d.ts",
83 "default": "./dist/esm/ssr/client.js"
84 },
85 "require": {
86 "types": "./dist/cjs/ssr/client.d.cts",
87 "default": "./dist/cjs/ssr/client.cjs"
88 }
89 },
90 "./package.json": "./package.json"
91 },
92 "sideEffects": false,
93 "files": [
94 "dist",
95 "src"
96 ],
97 "engines": {
98 "node": ">=12"
99 },
100 "dependencies": {
101 "@solid-devtools/logger": "^0.9.4",
102 "@solid-primitives/refs": "^1.0.8",
103 "@solidjs/meta": "^0.29.4",
104 "@tanstack/history": "workspace:*",
105 "@tanstack/router-core": "workspace:*",
106 "@tanstack/solid-store": "0.7.0",
107 "isbot": "^5.1.22",
108 "tiny-invariant": "^1.3.3",
109 "tiny-warning": "^1.0.3"
110 },
111 "devDependencies": {
112 "@solidjs/testing-library": "^0.8.10",
113 "@testing-library/jest-dom": "^6.6.3",
114 "combinate": "^1.1.11",
115 "eslint-plugin-solid": "^0.14.5",
116 "solid-js": "^1.9.5",
117 "vite-plugin-solid": "^2.11.8",
118 "zod": "^3.23.8"
119 },
120 "peerDependencies": {
121 "solid-js": "^1.9.5"
122 }