-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.68 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.68 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
125
126
{
"name": "@native-router/react",
"version": "0.0.0-development",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./ssr": {
"types": "./dist/types/ssr.d.ts",
"import": "./dist/ssr.js",
"require": "./dist/ssr.cjs"
},
"./server": {
"types": "./dist/types/server.d.ts",
"import": "./dist/server.js",
"require": "./dist/server.cjs"
}
},
"keywords": [
"react",
"router",
"react router",
"react-router",
"async",
"tiny",
"data-fetching",
"prefetch",
"preview"
],
"description": "A route close to the native experience for react.",
"files": [
"dist"
],
"scripts": {
"start": "vite",
"start:ssr": "cross-env SSR=true vite",
"build": "vite build && tsc -p tsconfig.production.json && tsc-alias -p tsconfig.production.json",
"commit": "lint-staged && git-cz -n",
"coverage": "c8 report --reporter=text-lcov > ./coverage/coverage.txt",
"lint": "eslint --fix .",
"deploy": "cross-env BABEL_ENV=development BUILD_DEMO=true vite build && gh-pages -d dist",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"serve": "vite preview",
"typecheck": "tsc -p tsconfig.production.json --noEmit && tsc -p tsconfig.test.json --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/native-router/react.git"
},
"sideEffects": false,
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/native-router/react/issues"
},
"homepage": "https://github.com/native-router/react",
"engines": {
"node": ">=18"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@native-router/core": "^1.13.0",
"history": "^5.3.0",
"use-sync-external-store": "^1.6.0"
},
"devDependencies": {
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/preset-react": "^8.0.1",
"@babel/preset-typescript": "^8.0.1",
"@eslint-react/eslint-plugin": "^5.18.6",
"@eslint/js": "^10.0.1",
"@linaria/core": "^8.2.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^26.4.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"@vitejs/plugin-react": "^6.1.0",
"@vitest/coverage-v8": "^4.1.11",
"@vitest/ui": "^4.1.11",
"@wyw-in-js/vite": "^2.4.3",
"babel-plugin-transform-jsx-class": "^0.1.3",
"babel-plugin-transform-jsx-condition": "^0.1.3",
"babel-runtime-jsx-plus": "^0.1.5",
"commitizen": "^4.3.2",
"core-js": "^3.50.0",
"cross-env": "^10.1.0",
"eslint": "^10.9.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-compat": "^7.0.2",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.1.1",
"gh-pages": "^6.3.0",
"global-jsdom": "^29.0.0",
"globals": "^17.11.0",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"lint-staged": "^17.3.0",
"prettier": "^3.9.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"rollup-plugin-type-as-json-schema": "^0.2.6",
"semantic-release": "^25.0.9",
"terser": "^5.51.0",
"tsc-alias": "^1.9.2",
"typedoc": "^0.28.20",
"typedoc-plugin-mark-react-functional-components": "^0.2.2",
"typedoc-plugin-missing-exports": "^4.1.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0",
"vite": "^8.2.2",
"vitest": "^4.1.11"
}
}