2024-06-26 19:01:09 +03:00
|
|
|
{
|
|
|
|
"name": "@gitbutler/ui",
|
|
|
|
"version": "0.0.1",
|
2024-06-27 12:39:48 +03:00
|
|
|
"description": "GitButler Component Library",
|
|
|
|
"keywords": [
|
|
|
|
"components",
|
|
|
|
"documentation",
|
|
|
|
"Svelte",
|
|
|
|
"SvelteKit"
|
|
|
|
],
|
2024-06-26 19:01:09 +03:00
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "vite dev",
|
|
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
|
|
"check:watch": "pnpm check --watch",
|
2024-07-29 12:29:54 +03:00
|
|
|
"package": "svelte-kit sync && svelte-package && pnpm run pack-styles",
|
|
|
|
"prepublishOnly": "pnpm run package",
|
2024-06-26 19:01:09 +03:00
|
|
|
"prepare": "svelte-kit sync",
|
2024-07-29 12:29:54 +03:00
|
|
|
"pack-styles": "postcss ./src/styles/main.css -o ./dist/styles/main.css && pnpm run copy-fonts",
|
2024-06-27 15:26:56 +03:00
|
|
|
"storybook": "storybook dev --no-open -p 6006",
|
2024-07-29 12:29:54 +03:00
|
|
|
"storybook:build": "storybook build",
|
|
|
|
"copy-fonts": "postcss ./src/styles/fonts.css -o ./dist/fonts.css && cpy './src/styles/fonts/**/*.woff2' './dist/fonts' --parents"
|
2024-06-26 19:01:09 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-29 12:29:54 +03:00
|
|
|
"@csstools/postcss-bundler": "^1.0.15",
|
|
|
|
"@csstools/postcss-minify": "^1.1.5",
|
2024-06-26 19:01:09 +03:00
|
|
|
"@storybook/addon-essentials": "^8.1.10",
|
|
|
|
"@storybook/addon-interactions": "^8.1.10",
|
|
|
|
"@storybook/addon-links": "^8.1.10",
|
|
|
|
"@storybook/blocks": "^8.1.10",
|
|
|
|
"@storybook/svelte": "^8.1.10",
|
|
|
|
"@storybook/sveltekit": "^8.1.10",
|
2024-07-17 11:48:51 +03:00
|
|
|
"@sveltejs/adapter-static": "catalog:svelte",
|
|
|
|
"@sveltejs/kit": "catalog:svelte",
|
2024-06-27 12:39:48 +03:00
|
|
|
"@sveltejs/package": "^2.3.2",
|
2024-07-17 11:48:51 +03:00
|
|
|
"@sveltejs/vite-plugin-svelte": "catalog:svelte",
|
2024-07-29 12:29:54 +03:00
|
|
|
"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",
|
2024-06-26 19:01:09 +03:00
|
|
|
"storybook": "^8.1.10",
|
2024-07-17 11:48:51 +03:00
|
|
|
"svelte": "catalog:svelte",
|
|
|
|
"svelte-check": "catalog:svelte",
|
|
|
|
"vite": "catalog:"
|
2024-07-01 14:04:47 +03:00
|
|
|
},
|
2024-07-01 14:34:20 +03:00
|
|
|
"peerDependencies": {
|
|
|
|
"svelte": "^4.0.0 || ^5.0.0-0"
|
|
|
|
},
|
2024-07-01 14:04:47 +03:00
|
|
|
"exports": {
|
2024-07-01 22:07:07 +03:00
|
|
|
"./*.svelte": {
|
|
|
|
"svelte": "./dist/*.svelte",
|
|
|
|
"types": "./dist/*.svelte.d.ts"
|
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"import": "./dist/*.js",
|
|
|
|
"types": "./dist/*.d.ts"
|
2024-07-29 12:29:54 +03:00
|
|
|
},
|
|
|
|
"./main.css": {
|
|
|
|
"import": "./dist/styles/main.css"
|
|
|
|
},
|
|
|
|
"./fonts.css": {
|
|
|
|
"import": "./dist/fonts.css"
|
2024-07-01 19:47:43 +03:00
|
|
|
}
|
2024-07-01 14:04:47 +03:00
|
|
|
},
|
2024-07-01 14:34:20 +03:00
|
|
|
"files": [
|
2024-07-01 22:07:07 +03:00
|
|
|
"./dist/*.svelte",
|
|
|
|
"./dist/*.js",
|
|
|
|
"./dist/*.d.ts",
|
2024-07-29 12:29:54 +03:00
|
|
|
"!./dist/*.test.*",
|
|
|
|
"./dist/*.css",
|
|
|
|
"./dist/*.woff2"
|
2024-07-01 14:04:47 +03:00
|
|
|
]
|
2024-06-26 19:01:09 +03:00
|
|
|
}
|