gitbutler/packages/ui/package.json
Pavel Laptev ab0c70b673
Package UI updates (#4539)
* documentation update + design tokens generation

* ts config update

* formatting fix

* update tokens config format

* ignore JS files check

* Storybook version bump

* formatting fix

* dark theme toggle added
2024-07-30 16:45:19 +02:00

87 lines
2.4 KiB
JSON

{
"name": "@gitbutler/ui",
"version": "0.0.2",
"description": "GitButler Component Library",
"keywords": [
"components",
"documentation",
"Svelte",
"SvelteKit"
],
"type": "module",
"scripts": {
"dev": "vite dev",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "pnpm check --watch",
"package": "pnpm run --sequential \"/^package:.*/\"",
"package:svelte": "svelte-kit sync && svelte-package",
"package:styles": "postcss ./src/styles/main.css -o ./dist/styles/main.css && pnpm run copy-fonts",
"copy-fonts": "postcss ./src/styles/fonts.css -o ./dist/fonts.css && cpy './src/styles/fonts/**/*.woff2' './dist/fonts' --parents",
"build:design-tokens": "npx co build",
"prepublishOnly": "pnpm run package",
"prepare": "svelte-kit sync",
"storybook": "storybook dev --no-open -p 6006",
"storybook:build": "storybook build"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.6.1",
"@cobalt-ui/cli": "^1.8.0",
"@cobalt-ui/plugin-css": "^1.7.3",
"@cobalt-ui/plugin-js": "^1.4.3",
"@csstools/postcss-bundler": "^1.0.15",
"@csstools/postcss-minify": "^1.1.5",
"@storybook/addon-docs": "^8.2.6",
"@storybook/addon-essentials": "^8.2.6",
"@storybook/addon-interactions": "^8.2.6",
"@storybook/addon-links": "^8.2.6",
"@storybook/blocks": "^8.2.6",
"@storybook/svelte": "^8.2.6",
"@storybook/sveltekit": "^8.2.6",
"@storybook/theming": "^8.2.6",
"@sveltejs/adapter-static": "catalog:svelte",
"@sveltejs/kit": "catalog:svelte",
"@sveltejs/package": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "catalog:svelte",
"autoprefixer": "^10.4.19",
"cpy-cli": "^5.0.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-minify": "^1.1.0",
"postcss-nesting": "^12.1.5",
"postcss-pxtorem": "^6.1.0",
"rimraf": "^6.0.1",
"storybook": "^8.2.6",
"storybook-dark-mode": "^4.0.2",
"svelte": "catalog:svelte",
"svelte-check": "catalog:svelte",
"vite": "catalog:"
},
"peerDependencies": {
"svelte": "^4.0.0 || ^5.0.0-0"
},
"exports": {
"./*.svelte": {
"svelte": "./dist/*.svelte",
"types": "./dist/*.svelte.d.ts"
},
"./*": {
"import": "./dist/*.js",
"types": "./dist/*.d.ts"
},
"./main.css": {
"import": "./dist/styles/main.css"
},
"./fonts.css": {
"import": "./dist/fonts.css"
}
},
"files": [
"./dist/*.svelte",
"./dist/*.js",
"./dist/*.d.ts",
"!./dist/*.test.*",
"./dist/*.css",
"./dist/*.woff2"
]
}