@facto-to/notifications 0.0.0-stage → 0.1.0-beta.2
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/LICENSE +204 -0
- package/README.md +53 -2
- package/dist/core.d.ts +397 -0
- package/dist/core.js +1106 -0
- package/dist/react.d.ts +311 -0
- package/dist/react.js +414 -0
- package/dist/styles.css +1 -0
- package/dist/ui.d.ts +335 -0
- package/dist/ui.js +1124 -0
- package/package.json +88 -4
package/package.json
CHANGED
|
@@ -1,6 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@facto-to/notifications",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Facto realtime SSE transport, React notification state, and design-system UI components.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"facto",
|
|
8
|
+
"notifications",
|
|
9
|
+
"sse",
|
|
10
|
+
"realtime",
|
|
11
|
+
"react"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/core.js",
|
|
15
|
+
"dist/core.d.ts",
|
|
16
|
+
"dist/react.js",
|
|
17
|
+
"dist/react.d.ts",
|
|
18
|
+
"dist/ui.js",
|
|
19
|
+
"dist/ui.d.ts",
|
|
20
|
+
"dist/styles.css",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
"./core": {
|
|
26
|
+
"types": "./dist/core.d.ts",
|
|
27
|
+
"import": "./dist/core.js"
|
|
28
|
+
},
|
|
29
|
+
"./react": {
|
|
30
|
+
"types": "./dist/react.d.ts",
|
|
31
|
+
"import": "./dist/react.js"
|
|
32
|
+
},
|
|
33
|
+
"./ui": {
|
|
34
|
+
"types": "./dist/ui.d.ts",
|
|
35
|
+
"import": "./dist/ui.js"
|
|
36
|
+
},
|
|
37
|
+
"./styles.css": "./dist/styles.css"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"build": "rm -rf dist && FACTO_NOTIF_ENTRY=core vite build && FACTO_NOTIF_ENTRY=react vite build && FACTO_NOTIF_ENTRY=ui vite build && tsc -p tsconfig.build.json && rollup -c rollup.types.mjs && rm -rf dist/.types",
|
|
42
|
+
"test": "bun test",
|
|
43
|
+
"prepack": "npm run build"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"react": "^19.0.0",
|
|
47
|
+
"react-dom": "^19.0.0",
|
|
48
|
+
"@facto-to/design-system": "^0.1.0-beta.10"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"react": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
"react-dom": {
|
|
55
|
+
"optional": true
|
|
56
|
+
},
|
|
57
|
+
"@facto-to/design-system": {
|
|
58
|
+
"optional": true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@facto-to/design-system": "workspace:*",
|
|
63
|
+
"@types/react": "^19.2.5",
|
|
64
|
+
"@types/react-dom": "^19.2.3",
|
|
65
|
+
"react": "^19.2.0",
|
|
66
|
+
"react-dom": "^19.2.0",
|
|
67
|
+
"rollup": "^4.63.5",
|
|
68
|
+
"rollup-plugin-dts": "^6.5.1",
|
|
69
|
+
"typescript": "^5.9.3",
|
|
70
|
+
"vite": "^7.2.4"
|
|
71
|
+
},
|
|
72
|
+
"sideEffects": [
|
|
73
|
+
"**/*.css"
|
|
74
|
+
],
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"registry": "https://registry.npmjs.org/",
|
|
77
|
+
"access": "public",
|
|
78
|
+
"tag": "beta"
|
|
79
|
+
},
|
|
80
|
+
"license": "Apache-2.0",
|
|
81
|
+
"repository": {
|
|
82
|
+
"type": "git",
|
|
83
|
+
"url": "git+https://github.com/Facto-to/design-system.git",
|
|
84
|
+
"directory": "packages/notifications"
|
|
85
|
+
},
|
|
86
|
+
"homepage": "https://github.com/Facto-to/design-system#readme",
|
|
87
|
+
"bugs": {
|
|
88
|
+
"url": "https://github.com/Facto-to/design-system/issues"
|
|
89
|
+
}
|
|
90
|
+
}
|