@okyrychenko-dev/react-modal-manager 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@okyrychenko-dev/react-modal-manager",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Typed modal/dialog lifecycle manager for React",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "sideEffects": false,
17
+ "files": [
18
+ "dist",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsup",
24
+ "dev": "tsup --watch",
25
+ "clean": "rm -rf dist",
26
+ "prepublishOnly": "npm run clean && npm run build",
27
+ "typecheck": "tsc --noEmit",
28
+ "lint": "eslint src --ext .ts,.tsx",
29
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
30
+ "check": "npm run lint && npm run typecheck && npm run test:run && npm run build",
31
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
32
+ "format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
33
+ "test": "vitest",
34
+ "test:run": "vitest run",
35
+ "storybook": "storybook dev -p 6006",
36
+ "build-storybook": "storybook build"
37
+ },
38
+ "keywords": [
39
+ "react",
40
+ "modal",
41
+ "dialog",
42
+ "promise",
43
+ "typescript",
44
+ "zustand"
45
+ ],
46
+ "author": "Oleksii Kyrychenko alexey.kirichenko@gmail.com",
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/okyrychenko-dev/react-modal-manager"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/okyrychenko-dev/react-modal-manager/issues"
54
+ },
55
+ "homepage": "https://github.com/okyrychenko-dev/react-modal-manager#readme",
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "peerDependencies": {
60
+ "react": "^18.0.0 || ^19.0.0",
61
+ "zustand": "^5.0.0"
62
+ },
63
+ "devDependencies": {
64
+ "@eslint/js": "^9.39.1",
65
+ "@storybook/addon-docs": "10.2.16",
66
+ "@storybook/react-vite": "10.2.16",
67
+ "@testing-library/dom": "^10.4.1",
68
+ "@testing-library/jest-dom": "^6.9.1",
69
+ "@testing-library/react": "^16.3.0",
70
+ "@types/node": "^24.10.4",
71
+ "@types/react": "^19.2.5",
72
+ "@typescript-eslint/eslint-plugin": "^8.46.4",
73
+ "@typescript-eslint/parser": "^8.46.4",
74
+ "@vitest/coverage-v8": "^4.0.9",
75
+ "eslint": "^9.39.1",
76
+ "eslint-config-prettier": "^10.1.8",
77
+ "eslint-plugin-import": "^2.32.0",
78
+ "eslint-plugin-react": "^7.37.5",
79
+ "eslint-plugin-react-hooks": "^7.0.1",
80
+ "happy-dom": "^20.0.10",
81
+ "prettier": "^3.6.2",
82
+ "react": "^19.2.0",
83
+ "react-dom": "^19.2.0",
84
+ "remark-gfm": "^4.0.1",
85
+ "storybook": "10.2.16",
86
+ "tsup": "^8.5.1",
87
+ "typescript": "^5.3.3",
88
+ "typescript-eslint": "^8.46.4",
89
+ "vitest": "^4.0.9",
90
+ "zustand": "^5.0.8"
91
+ }
92
+ }