-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.52 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.52 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
{
"name": "@native-router/react",
"version": "1.0.2",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.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"
},
"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": ">=14"
},
"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.0.3",
"history": "^5.3.0"
},
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@linaria/babel-preset": "^5.0.2",
"@linaria/core": "^5.0.1",
"@linaria/vite": "^5.0.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^14.3.1",
"@types/node": "^20.6.5",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"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.0",
"core-js": "^3.32.2",
"cross-env": "^7.0.3",
"eslint": "^8.50.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^6.0.0",
"global-jsdom": "^9.1.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup-plugin-type-as-json-schema": "^0.2.6",
"semantic-release": "^25.0.3",
"terser": "^5.20.0",
"tsc-alias": "^1.8.8",
"typedoc": "^0.25.1",
"typedoc-plugin-mark-react-functional-components": "^0.2.2",
"typedoc-plugin-missing-exports": "^2.1.0",
"typescript": "^5.2.2",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}