react-better-html 1.0.1 → 1.0.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/dist/components/Div.d.ts +6 -0
- package/dist/components/Div.jsx +7 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -5
- package/dist/types/types.d.ts +0 -0
- package/dist/types/types.js +1 -0
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import Div from "./components/Div";
|
|
2
|
+
export { Div };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const testPackage = () => {
|
|
5
|
-
return "Hello World!";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6
4
|
};
|
|
7
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Div = void 0;
|
|
7
|
+
const Div_1 = __importDefault(require("./components/Div"));
|
|
8
|
+
exports.Div = Div_1.default;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-better-html",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A component library for react that is as close to plane html as possible",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsc",
|
|
17
|
-
"
|
|
17
|
+
"deploy": "npm run build && npm publish"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"component",
|
|
@@ -25,9 +25,12 @@
|
|
|
25
25
|
"author": "kriss.vv",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@types/react": "^18.3.3",
|
|
29
|
+
"react": "^18.0.0",
|
|
30
|
+
"react-dom": "^18.0.0",
|
|
28
31
|
"typescript": "^5.5.3"
|
|
29
32
|
},
|
|
30
33
|
"peerDependencies": {
|
|
31
|
-
"react": "^18.
|
|
34
|
+
"react": "^18.0.0"
|
|
32
35
|
}
|
|
33
36
|
}
|