Updated CSS Config

This commit is contained in:
2025-08-16 12:19:32 +05:30
parent 9a183efd80
commit aa2756d04c
2 changed files with 860 additions and 94 deletions
+6 -3
View File
@@ -23,13 +23,13 @@
"components"
],
"sideEffects": false,
"style": "./src/styles/style.css",
"style": "./dist/style.css",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./theme.css": "./src/styles/style.css",
"./style.css": "./dist/style.css",
"./components/*": "./src/components/*",
"./utils/*": "./src/utils/*"
},
@@ -57,16 +57,19 @@
"astro": "astro",
"check": "astro check",
"build:prod": "astro check && astro build",
"css:build": "npx @tailwindcss/cli -i ./src/styles/global.css -o ./dist/style.css",
"prepublishOnly": "npm run verify",
"verify": "node -e \"console.log('✅ ready to publish')\"",
"version:patch": "npm version patch -m \"chore(release): %s\"",
"version:minor": "npm version minor -m \"chore(release): %s\"",
"version:major": "npm version major -m \"chore(release): %s\"",
"release:canary": "npm version prerelease --preid=canary && npm publish --tag canary",
"release:canary": "npm run css:build && npm version prerelease --preid=canary && npm publish --tag canary",
"release": "npm publish --access public"
},
"dependencies": {
"@tailwindcss/cli": "^4.1.12",
"@tailwindcss/vite": "^4.1.12",
"tailwindcss": "^4.1.12",
"zod": "^3.25.76"
},
"devDependencies": {