-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
85 lines (85 loc) · 2.27 KB
/
package.json
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
{
"version": "0.7.2",
"name": "react-router-prompt",
"description": "React Router Navigation Prompt for v6",
"type": "module",
"files": [
"dist"
],
"main": "./dist/react-router-prompt.umd.cjs",
"module": "./dist/react-router-prompt.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/react-router-prompt.js",
"require": "./dist/react-router-prompt.umd.cjs"
}
},
"author": "Shyam Gupta (shyamm@outlook.com)",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/sshyam-gupta/react-router-prompt.git"
},
"homepage": "https://github.com/sshyam-gupta/react-router-prompt#readme",
"keywords": [
"confirm",
"navigation",
"prompt",
"react",
"router"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"format": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss}\" --write",
"size": "size-limit",
"prepublishOnly": "yarn build",
"prepare": "husky"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^11.0.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"history": "^5.3.0",
"husky": "^9.0.11",
"path": "^0.12.7",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^6.22.1",
"size-limit": "^11.0.2",
"typescript": "^5.3.3",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.4.0",
"vite-tsconfig-paths": "^5.1.4"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8",
"react-router-dom": ">=6.19 <7"
},
"size-limit": [
{
"path": "dist/react-router-prompt.js",
"limit": "600 B"
},
{
"path": "dist/react-router-prompt.umd.cjs",
"limit": "800 B"
}
]
}