-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.37 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.37 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
{
"name": "react-vt-router",
"private": false,
"version": "0.1.5",
"description": "A tiny React router with View Transitions using native Web APIs.",
"type": "module",
"license": "MIT",
"files": [
"dist",
"README.md",
"LICENSE"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"keywords": [
"react",
"router",
"view-transitions",
"urlpattern",
"spa",
"tiny-router"
],
"author": "zhangmin",
"repository": {
"type": "git",
"url": "git+https://github.com/devTech-zhang/react-vt-router.git"
},
"bugs": {
"url": "https://github.com/devTech-zhang/react-vt-router/issues"
},
"homepage": "https://github.com/devTech-zhang/react-vt-router#readme",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"scripts": {
"dev": "vite",
"build:demo": "tsc -b && vite build",
"build:lib": "tsup src/lib/index.ts --tsconfig tsconfig.lib.json --dts --format esm,cjs --clean --out-dir dist --external react,react-dom",
"build:rollup": "rimraf dist && rollup -c",
"build": "npm run build:rollup",
"lint": "eslint .",
"preview": "vite preview",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"@types/node": "^24.3.0",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^5.0.0",
"eslint": "^9.33.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"rimraf": "^6.0.1",
"rollup": "^4.50.0",
"rollup-plugin-dts": "^6.2.3",
"tslib": "^2.8.1",
"tsup": "^8.5.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.39.1",
"vite": "^7.1.2"
}
}