-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.05 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
{
"name": "@piotar/react-promise-bridge",
"version": "0.4.5",
"description": "A library that allows you to easily manage components that ultimately return a value as a `Promise` in `React`.",
"repository": {
"type": "git",
"url": "https://github.com/piotar/react-promise-bridge.git"
},
"keywords": [
"promsie bridge",
"react dialog",
"react modal",
"react popups",
"react toastr",
"react messages",
"react promise bridge",
"react utils",
"react promise"
],
"author": "Piotr Tarasiuk",
"license": "MIT",
"bugs": {
"url": "https://github.com/piotar/react-promise-bridge/issues"
},
"homepage": "https://github.com/piotar/react-promise-bridge",
"type": "module",
"files": [
"dist"
],
"main": "./dist/react-promise-bridge.umd.cjs",
"module": "./dist/react-promise-bridge.js",
"types": "./dist/types/",
"exports": {
".": {
"import": "./dist/react-promise-bridge.js",
"require": "./dist/react-promise-bridge.umd.cjs"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest run",
"coverage": "vitest run --coverage",
"prettier": "prettier --write --ignore-unknown ./src/**/*.{ts,tsx,json}",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=16.6.0"
},
"devDependencies": {
"@testing-library/react": "16.1.0",
"@types/react": "18.3.18",
"@vitejs/plugin-react": "4.3.4",
"@vitest/coverage-v8": "2.1.8",
"husky": "9.1.7",
"jsdom": "25.0.1",
"lint-staged": "15.3.0",
"prettier": "3.4.2",
"react": "18.3.1",
"typescript": "5.7.2",
"vite": "6.0.7",
"vite-plugin-dts": "4.4.0",
"vitest": "2.1.8"
},
"lint-staged": {
"**/*.{js,ts,json}": "prettier --write --ignore-unknown"
}
}