@namphuongtechnologi/np-hub 0.1.2 → 0.1.4
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 +19 -2
- package/react.cjs +1 -0
- package/react.d.ts +1 -0
- package/react.js +1 -0
- package/widget.cjs +1 -0
- package/widget.d.ts +1 -0
- package/widget.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namphuongtechnologi/np-hub",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "NP Hub Web Component toolkit for support flows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -23,18 +23,35 @@
|
|
|
23
23
|
"require": "./dist/react.cjs"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"*": {
|
|
28
|
+
"react": [
|
|
29
|
+
"./dist/react.d.ts"
|
|
30
|
+
],
|
|
31
|
+
"widget": [
|
|
32
|
+
"./dist/register.d.ts"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
26
36
|
"files": [
|
|
27
37
|
"dist",
|
|
38
|
+
"react.d.ts",
|
|
39
|
+
"react.js",
|
|
40
|
+
"react.cjs",
|
|
41
|
+
"widget.d.ts",
|
|
42
|
+
"widget.js",
|
|
43
|
+
"widget.cjs",
|
|
28
44
|
"README.md",
|
|
29
45
|
"LICENSE",
|
|
30
46
|
"docs"
|
|
31
47
|
],
|
|
32
48
|
"scripts": {
|
|
33
49
|
"dev": "tsup --watch",
|
|
34
|
-
"build": "tsup",
|
|
50
|
+
"build": "tsup && node scripts/postbuild-shims.mjs",
|
|
35
51
|
"typecheck": "tsc --noEmit",
|
|
36
52
|
"lint": "eslint .",
|
|
37
53
|
"test": "vitest run",
|
|
54
|
+
"test:module-resolution": "npm run build && cd tests/module-resolution-node && npm init -y >/dev/null 2>&1 && npm install ../../ >/dev/null 2>&1 && npx tsc --noEmit",
|
|
38
55
|
"release": "node scripts/release.mjs",
|
|
39
56
|
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build"
|
|
40
57
|
},
|
package/react.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./dist/react.cjs");
|
package/react.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/react";
|
package/react.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/react.js";
|
package/widget.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./dist/register.cjs");
|
package/widget.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/register";
|
package/widget.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/register.js";
|