Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.26 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.26 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@monarcode/session-kit",
"version": "0.1.0-alpha.4",
"description": "Schema-driven browser sessions for React, with TanStack Router and React Router support",
"keywords": [
"auth",
"react",
"react-router",
"router",
"standard-schema",
"tanstack"
],
"homepage": "https://github.com/monarcode/session-kit#readme",
"bugs": {
"url": "https://github.com/monarcode/session-kit/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/monarcode/session-kit.git"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
},
"./tanstack-router": {
"types": "./dist/tanstack-router/index.d.ts",
"import": "./dist/tanstack-router/index.js"
},
"./react-router": {
"types": "./dist/react-router/index.d.ts",
"import": "./dist/react-router/index.js"
},
"./http": {
"types": "./dist/http/index.d.ts",
"import": "./dist/http/index.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prepare": "husky",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"clean": "node scripts/clean.mjs",
"build": "pnpm run clean && tsc -p tsconfig.json",
"build:examples": "pnpm run build && pnpm --filter \"./examples/*\" run build",
"dev": "tsc -p tsconfig.json --watch",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "pnpm run test:sync && pnpm run test:async",
"test:sync": "node --conditions=development --test tests/*.test.ts",
"test:async": "node --env-file=tests/async-storage.env --conditions=development --test tests/*.test.ts",
"test:types": "tsc -p tests/tsconfig.tests.json && tsc -p tests/tsconfig.json && tsc -p tests/tsconfig.bundler.json && pnpm run test:docs",
"test:docs": "node scripts/check-readme.mjs",
"check": "pnpm run lint && pnpm run format:check && pnpm run build && pnpm test && pnpm run test:types",
"prepack": "pnpm run check"
},
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"nanostores": "^1.5.4",
"use-sync-external-store": "^1.6.0"
},
"devDependencies": {
"@tanstack/react-router": "1.170.41",
"@types/jsdom": "21.1.7",
"@types/node": "22.20.4",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@types/use-sync-external-store": "1.7.0",
"husky": "9.1.7",
"jsdom": "26.1.0",
"oxfmt": "0.71.0",
"oxlint": "1.86.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"react-router": "8.4.0",
"typescript": "6.0.3",
"zod": "4.4.3"
},
"peerDependencies": {
"@tanstack/react-router": "^1.132.0",
"react": "^18.0.0 || ^19.0.0",
"react-router": "^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@tanstack/react-router": {
"optional": true
},
"react": {
"optional": true
},
"react-router": {
"optional": true
}
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24",
"onFail": "error"
}
},
"packageManager": "pnpm@10.12.1"
}