novo-menu-wedding-site 0.0.12 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -2
- package/tailwind.config.js +1 -1
- package/tsconfig.app.json +1 -5
- package/vite.config.ts +3 -3
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "novo-menu-wedding-site",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.0
|
4
|
+
"version": "0.1.0",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/menu-section.umd.js",
|
7
7
|
"module": "dist/menu-section.es.js",
|
@@ -11,12 +11,14 @@
|
|
11
11
|
"require": "./dist/menu-section.umd.js"
|
12
12
|
}
|
13
13
|
},
|
14
|
-
"types": "./dist/app.d.ts",
|
15
14
|
"scripts": {
|
16
15
|
"dev": "vite",
|
17
16
|
"build": "tsc -b && vite build",
|
18
17
|
"preview": "vite preview"
|
19
18
|
},
|
19
|
+
"keywords": ["menu", "wedding", "preact", "web-component", "tailwindcss"],
|
20
|
+
"author": "Ana",
|
21
|
+
"license": "MIT",
|
20
22
|
"dependencies": {
|
21
23
|
"autoprefixer": "^10.4.20",
|
22
24
|
"preact": "^10.24.3",
|
package/tailwind.config.js
CHANGED
package/tsconfig.app.json
CHANGED
@@ -10,8 +10,6 @@
|
|
10
10
|
"react": ["./node_modules/preact/compat/"],
|
11
11
|
"react-dom": ["./node_modules/preact/compat/"]
|
12
12
|
},
|
13
|
-
|
14
|
-
/* Bundler mode */
|
15
13
|
"moduleResolution": "Bundler",
|
16
14
|
"allowImportingTsExtensions": true,
|
17
15
|
"isolatedModules": true,
|
@@ -19,13 +17,11 @@
|
|
19
17
|
"noEmit": true,
|
20
18
|
"jsx": "react-jsx",
|
21
19
|
"jsxImportSource": "preact",
|
22
|
-
|
23
|
-
/* Linting */
|
24
20
|
"strict": true,
|
25
21
|
"noUnusedLocals": true,
|
26
22
|
"noUnusedParameters": true,
|
27
23
|
"noFallthroughCasesInSwitch": true,
|
28
24
|
"noUncheckedSideEffectImports": true
|
29
25
|
},
|
30
|
-
"include": ["src", "custom.d.ts"]
|
26
|
+
"include": ["src/**/*", "custom.d.ts"]
|
31
27
|
}
|
package/vite.config.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineConfig } from "vite";
|
2
2
|
import preact from "@preact/preset-vite";
|
3
3
|
import { viteStaticCopy } from "vite-plugin-static-copy";
|
4
|
-
import tailwindcss from
|
5
|
-
import autoprefixer from
|
4
|
+
import tailwindcss from "tailwindcss";
|
5
|
+
import autoprefixer from "autoprefixer";
|
6
6
|
|
7
7
|
export default defineConfig({
|
8
8
|
plugins: [
|
@@ -17,7 +17,7 @@ export default defineConfig({
|
|
17
17
|
css: { postcss: { plugins: [tailwindcss(), autoprefixer()] } },
|
18
18
|
build: {
|
19
19
|
lib: {
|
20
|
-
entry: "./src/app.tsx",
|
20
|
+
entry: "./src/app.tsx", // Corrigido para refletir o nome correto do arquivo
|
21
21
|
name: "MenuSection",
|
22
22
|
fileName: (format) => `menu-section.${format}.js`,
|
23
23
|
formats: ["es", "umd"],
|