@cencomalls/cencob2b-storybook 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -5
- package/esbuild.config.js +0 -12
- package/src/components/Banner/Banner.tsx +0 -9
- package/src/components/Banner/index.ts +0 -1
- package/src/components/index.tsx +0 -1
- package/src/index.tsx +0 -1
- package/tsconfig.json +0 -17
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cencomalls/cencob2b-storybook",
|
3
|
-
"version": "1.0.
|
4
|
-
"main": "dist/index.
|
5
|
-
"module": "dist/index.
|
3
|
+
"version": "1.0.9",
|
4
|
+
"main": "dist/index.js",
|
5
|
+
"module": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"type": "module",
|
8
8
|
"sideEffects": false,
|
@@ -16,7 +16,7 @@
|
|
16
16
|
"author": "Jonas",
|
17
17
|
"license": "ISC",
|
18
18
|
"description": "",
|
19
|
-
"
|
19
|
+
"peerDependencies": {
|
20
20
|
"react": "^19.0.0",
|
21
21
|
"react-dom": "^19.0.0"
|
22
22
|
},
|
@@ -26,5 +26,8 @@
|
|
26
26
|
"@types/react-dom": "^19.0.3",
|
27
27
|
"esbuild": "^0.24.2",
|
28
28
|
"typescript": "^5.7.3"
|
29
|
-
}
|
29
|
+
},
|
30
|
+
"files": [
|
31
|
+
"dist"
|
32
|
+
]
|
30
33
|
}
|
package/esbuild.config.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
const esbuild = require('esbuild');
|
2
|
-
|
3
|
-
esbuild.build({
|
4
|
-
entryPoints: ['src/index.tsx'],
|
5
|
-
outdir: 'dist',
|
6
|
-
bundle: true,
|
7
|
-
minify: true,
|
8
|
-
sourcemap: true,
|
9
|
-
format: 'esm',
|
10
|
-
target: ['es6'],
|
11
|
-
external: ['react', 'react-dom'], // Externaliza React y ReactDOM
|
12
|
-
}).catch(() => process.exit(1));
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as Banner } from "./Banner";
|
package/src/components/index.tsx
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Banner";
|
package/src/index.tsx
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./components";
|
package/tsconfig.json
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "./dist",
|
4
|
-
"module": "ESNext",
|
5
|
-
"target": "ES6",
|
6
|
-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
7
|
-
"declaration": true,
|
8
|
-
"jsx": "react-jsx",
|
9
|
-
"strict": true,
|
10
|
-
"moduleResolution": "node",
|
11
|
-
"esModuleInterop": true,
|
12
|
-
"skipLibCheck": true,
|
13
|
-
"forceConsistentCasingInFileNames": true
|
14
|
-
},
|
15
|
-
"include": ["src"],
|
16
|
-
"exclude": ["node_modules"]
|
17
|
-
}
|