gitbutler/packages/ui/package.json

94 lines
2.7 KiB
JSON
Raw Normal View History

{
"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",
2024-08-08 22:15:05 +03:00
"copy-fonts": "postcss ./src/styles/fonts.css -o ./dist/styles/fonts.css && cpy './src/styles/fonts/**/*.woff2' './dist/styles/fonts' --parents",
"design-tokens:build": "npx tz build && prettier --write ./src/lib/data/design-tokens.json ./src/styles/core/design-tokens.css",
"prepublishOnly": "pnpm run package",
"prepare": "svelte-kit sync",
"storybook": "storybook dev --no-open -p 6006",
"storybook:build": "storybook build",
"test": "vitest run --mode development",
"test:watch": "vitest --watch --mode development",
"playwright:install": "playwright install"
},
"devDependencies": {
"@csstools/postcss-bundler": "^1.0.15",
2024-09-25 01:16:49 +03:00
"@storybook/addon-docs": "^8.3.0",
"@storybook/addon-essentials": "^8.3.0",
"@storybook/addon-links": "^8.3.0",
"@storybook/blocks": "^8.3.0",
"@storybook/experimental-addon-test": "^8.3.0",
2024-09-25 01:16:49 +03:00
"@storybook/svelte": "^8.3.0",
"@storybook/sveltekit": "^8.3.0",
"@sveltejs/adapter-static": "catalog:svelte",
"@sveltejs/kit": "catalog:svelte",
"@sveltejs/package": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "catalog:svelte",
"@terrazzo/cli": "^0.0.11",
"@terrazzo/plugin-css": "^0.0.9",
2024-08-08 15:51:37 +03:00
"@types/postcss-pxtorem": "^6.0.3",
"@vitest/browser": "^2.0.5",
"autoprefixer": "^10.4.19",
"cpy-cli": "^5.0.0",
2024-07-31 20:41:08 +03:00
"date-fns": "^2.30.0",
"playwright": "^1.46.1",
"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",
2024-09-25 01:16:49 +03:00
"storybook": "^8.3.0",
"storybook-dark-mode": "^4.0.2",
"svelte": "catalog:svelte",
"svelte-check": "catalog:svelte",
"vite": "catalog:",
"vitest": "^2.0.5"
},
2024-07-01 14:34:20 +03:00
"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"
},
2024-08-08 15:51:37 +03:00
"./*.css": {
"import": "./dist/styles/*.css"
2024-07-31 14:08:48 +03:00
},
"./*.json": {
"import": "./dist/*.json",
"types": "./dist/*.json"
2024-07-01 19:47:43 +03:00
}
},
2024-07-01 14:34:20 +03:00
"files": [
"./dist/*.svelte",
2024-07-31 14:08:48 +03:00
"./dist/*.json",
"./dist/*.js",
"./dist/*.json",
"./dist/*.d.ts",
"!./dist/*.test.*",
"./dist/*.css",
"./dist/*.woff2"
]
}