Initial ui-kit: Button, дизайн-токены, сборка Vite, Storybook
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "@tnsu/ui-kit",
|
||||
"version": "0.0.1",
|
||||
"description": "TNSU shared UI components for SPFx web parts",
|
||||
"author": "Timur Gorodetskiy",
|
||||
"license": "ISC",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://git.tnsu.kz/timur.gorodetskiy/tnsu-ui-kit.git"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
},
|
||||
"./styles.css": "./dist/style.css"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"sideEffects": [
|
||||
"**/*.css"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"dev": "vite build --watch",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fluentui/react": "^8.106.4",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fluentui/react": "^8.125.7",
|
||||
"@types/react": "^17.0.45",
|
||||
"@types/react-dom": "^17.0.17",
|
||||
"@vitejs/plugin-react": "^6.0.5",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"sass": "^1.102.0",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "~5.8.0",
|
||||
"vite": "^8.2.1",
|
||||
"vite-plugin-dts": "^5.0.3",
|
||||
"storybook": "^10.5.7",
|
||||
"@storybook/react-vite": "^10.5.7",
|
||||
"@chromatic-com/storybook": "latest",
|
||||
"@storybook/addon-vitest": "^10.5.7",
|
||||
"@storybook/addon-a11y": "^10.5.7",
|
||||
"@storybook/addon-docs": "^10.5.7",
|
||||
"@storybook/addon-mcp": "latest",
|
||||
"vitest": "latest",
|
||||
"playwright": "latest",
|
||||
"@vitest/browser-playwright": "latest",
|
||||
"@vitest/coverage-v8": "latest"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user