UNPKG

@legion-ui-kit/react-core

Version:

To install the package into your project:

116 lines (114 loc) 3.81 kB
{ "name": "@legion-ui-kit/react-core", "author": { "name": "Legion Team" }, "private": false, "sideEffects": false, "version": "1.0.2", "license": "MIT", "type": "module", "files": [ "dist" ], "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" }, "./client": { "import": "./dist/esm/client-components.js", "require": "./dist/cjs/client-components.cjs", "types": "./dist/types/client-components.d.ts" }, "./server": { "import": "./dist/esm/server-components.js", "require": "./dist/cjs/server-components.cjs", "types": "./dist/types/server-components.d.ts" }, "./style.css": { "import": "./dist/esm/styles.css", "require": "./dist/cjs/styles.css" } }, "keywords": [ "react", "typescript", "legion", "legion-ui" ], "publishConfig": { "@legion-ui:registry": "https://gitlab.playcourt.id/api/v4/projects/28586/packages/npm/" }, "scripts": { "clean": "rm -rf dist", "build:bundle": "rollup -c --bundleConfigAsCjs", "build:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir dist/types --allowImportingTsExtensions", "build": "yarn clean && yarn build:bundle && yarn build:types", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "prepare:style": "postcss src/style.css -o style.css --minify", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "chromatic": "npx chromatic --project-token=40b07b73ebd7" }, "dependencies": { "classnames": "^2.5.1" }, "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0" }, "devDependencies": { "@babel/preset-react": "^7.26.3", "@chromatic-com/storybook": "3", "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@storybook/addon-essentials": "^8.6.0", "@storybook/addon-interactions": "^8.6.0", "@storybook/addon-links": "^8.6.0", "@storybook/addon-styling-webpack": "1.0.1", "@storybook/addon-webpack5-compiler-swc": "2.1.0", "@storybook/blocks": "^8.6.0", "@storybook/react": "^8.6.0", "@storybook/react-webpack5": "^8.6.0", "@storybook/test": "^8.6.0", "@tabler/icons-react": "^3.6.0", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/react": "^19.1.0", "@types/react-dom": "^19.1.0", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "babel-core": "^6.26.3", "babel-loader": "^9.2.1", "css-loader": "^7.1.2", "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "eslint-plugin-storybook": "^0.11.3", "jsdom": "^24.1.0", "postcss": "^8.4.38", "postcss-url": "^10.1.3", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup": "^4.30.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-preserve-directives": "^0.4.0", "rollup-plugin-visualizer": "^5.14.0", "sass": "^1.77.6", "sass-loader": "^16.0.5", "storybook": "^8.6.0", "style-loader": "^4.0.0", "tsconfig-paths-webpack-plugin": "^4.2.0", "typed-scss-modules": "^8.1.0", "typescript": "^5.2.2" } }