@philipe1993/list-color 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@philipe1993/list-color",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ListColor = void 0;
7
+ const mobx_react_lite_1 = require("mobx-react-lite");
8
+ const react_1 = __importDefault(require("react"));
9
+ // BreadCrumb
10
+ const breadCrumb = [
11
+ {
12
+ title: react_1.default.createElement("a", { href: "/dashboard" }, "Dashboard"),
13
+ },
14
+ {
15
+ title: react_1.default.createElement("p", null, "Listagem de Cores"),
16
+ },
17
+ ];
18
+ exports.ListColor = (0, mobx_react_lite_1.observer)(() => {
19
+ return (react_1.default.createElement(react_1.default.Fragment, null,
20
+ react_1.default.createElement("p", null, "TESTE")));
21
+ });
package/src/index.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";
package/tsconfig.json CHANGED
@@ -1,20 +1,17 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES5",
4
- "module": "CommonJS",
5
- "outDir": "./dist", // Saída dos arquivos compilados
6
- "rootDir": "./src", // Diretório dos arquivos fonte
7
- "declaration": true, // Gera arquivos de tipos
8
- "declarationMap": true, // Gera mapas de tipos
9
- "sourceMap": true, // Gera mapas de código-fonte
10
- "esModuleInterop": true, // Compatibilidade com módulos ES
11
- "skipLibCheck": true // Ignora verificações em bibliotecas externas
3
+ "target": "es6",
4
+ "module": "commonjs",
5
+ "jsx": "react",
6
+ "strict": true,
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "forceConsistentCasingInFileNames": true
12
10
  },
13
11
  "include": [
14
- "src/**/*"
15
- ], // Inclui arquivos dentro de src/
12
+ "src"
13
+ ],
16
14
  "exclude": [
17
- "node_modules",
18
- "dist"
19
- ] // Exclui pastas desnecessárias
15
+ "node_modules"
16
+ ]
20
17
  }