101 lines
2.9 KiB
JSON
101 lines
2.9 KiB
JSON
{
|
|
"name": "@status-im/components",
|
|
"version": "1.0.0",
|
|
"license": "MPL-2.0",
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"main": "./dist/src/index.cjs.js",
|
|
"module": "./dist/src/index.es.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"source": "./src/index.tsx",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"import": "./dist/src/index.es.js",
|
|
"require": "./dist/src/index.cjs.js"
|
|
},
|
|
"./config": {
|
|
"types": "./dist/tailwind.config.d.ts",
|
|
"import": "./dist/tailwind.config.es.js",
|
|
"require": "./dist/tailwind.config.cjs.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite build --watch --mode development",
|
|
"build": "vite build",
|
|
"postbuild": "yarn build:types",
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly",
|
|
"typecheck": "tsc",
|
|
"lint": "eslint src",
|
|
"format": "prettier --write .",
|
|
"storybook": "node ./scripts/storybook.js",
|
|
"storybook:dev": "storybook dev -p 3001",
|
|
"storybook:build": "storybook build",
|
|
"clean": "rimraf node_modules dist .turbo storybook-static",
|
|
"prepack": "yarn build"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
"@radix-ui/react-checkbox": "^1.1.1",
|
|
"@radix-ui/react-dialog": "^1.1.1",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
|
"@radix-ui/react-popover": "^1.1.1",
|
|
"@radix-ui/react-switch": "^1.1.0",
|
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
"@radix-ui/react-toast": "^1.2.1",
|
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
"@status-im/colors": "*",
|
|
"@status-im/icons": "*",
|
|
"cva": "^1.0.0-beta.1",
|
|
"date-fns": "^2.30.0",
|
|
"react-aria-components": "^1.3.3",
|
|
"react-day-picker": "^8.7.1",
|
|
"ts-pattern": "^5.3.1",
|
|
"zustand": "^4.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@status-im/eslint-config": "*",
|
|
"@storybook/addon-designs": "^8.0.3",
|
|
"@storybook/addon-essentials": "^8.3.0",
|
|
"@storybook/addon-interactions": "^8.3.0",
|
|
"@storybook/addon-links": "^8.3.0",
|
|
"@storybook/addon-mdx-gfm": "^8.3.0",
|
|
"@storybook/blocks": "^8.3.0",
|
|
"@storybook/react": "^8.3.0",
|
|
"@storybook/react-vite": "^8.3.0",
|
|
"@storybook/testing-library": "^0.2.2",
|
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
"postcss": "^8.4.33",
|
|
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
"storybook": "^8.3.0",
|
|
"tailwind-scrollbar-utilities": "^0.2.0",
|
|
"tailwindcss": "^3.4.11",
|
|
"tailwindcss-react-aria-components": "^1.1.5",
|
|
"vite": "^5.4.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
"eslint",
|
|
"prettier --write"
|
|
],
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|