Skip to content

Commit

Permalink
Fix: copied over raw styles to output
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Apr 1, 2024
1 parent b2561cf commit 5d039d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"exports": {
".": "./dist/index.js",
"./styles": "./dist/index.css",
"./raw-styles": "./dist/raw/index.css",
"./types": "./dist/types/index.d.ts"
},
"scripts": {
"build": "bun run ./esbuild.config.js",
"build:css": "bunx tailwindcss -i src/styles/index.css -o ./dist/index.css --minify",
"build:css": "bunx tailwindcss -i src/styles/index.css -o ./dist/index.css --minify && cp -r src/styles dist/raw && rm dist/raw/storybook.css",
"build:types": "bunx tsc --project ./tsconfig.declaration.json && tsc-alias --project ./tsconfig.declaration.json && cd dist && ls -d */ | grep -v 'types' | xargs rm -rf",
"bump-version": "bunx --bun automatic-versioning --disable-auto-sync --recursive $(if [ \"$TAG\" != \"latest\" ]; then echo --prerelease; fi) --prerelease-branch=development --prerelease-tag=$TAG --name=@mezh-hq/react-seat-toolkit --ignore-prefixes=ci",
"format": "bunx prettier --write --cache \"**/*.{js,jsx,ts,tsx,md,css,yml}\"",
"lint": "bun run --bun eslint . --ext js,jsx,ts,tsx,mdx --ignore-path .gitignore --fix --cache --report-unused-disable-directives",
"storybook": "NODE_ENV=storybook storybook dev -p 6006",
"build-storybook": "storybook build",
"postbuild": "bun build:css & bun build:types",
"postbuild": "bun build:types && bun build:css",
"postinstall": "patch-package",
"prepare": "lefthook install",
"release": "bunx github:akalanka47000/bunpublish --tag=${TAG:=latest} --provenance",
Expand Down

0 comments on commit 5d039d0

Please sign in to comment.