UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

191 lines (190 loc) 7.32 kB
{ "name": "@kubit-ui-web/react-components", "version": "1.17.1", "description": "Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience", "author": { "name": "Kubit", "email": "kubit@opendigitalservices.com", "url": "https://www.kubit-ui.com/", "organization": "Kubit", "organizationUrl": "https://www.kubit-ui.com/", "role": "Developer", "roleUrl": "https://www.kubit-ui.com/", "social": { "twitter": "https://twitter.com/kubit_ui", "github": "https://github.com/kubit-ui/kubit-react-components" } }, "private": false, "main": "dist/kubit-react-components.cjs.js", "module": "dist/kubit-react-components.es.js", "unpkg": "dist/kubit-react-components.umd.js", "jsdelivr": "dist/kubit-react-components.umd.js", "types": "dist/types/index.d.ts", "engines": { "node": ">=20.x", "npm": ">=7.0.0" }, "files": [ "dist", "package.json", "README.md", "LICENSE.md", "!dist/cjs/assets", "!dist/esm/assets", "!dist/**/tests", "!dist/**/**/*.test.*", "!dist/**/storybook", "!dist/**/**/stories" ], "keywords": [ "web-components", "react", "storybook", "typescript", "kubit", "kubit-ui", "kubit-react", "kubit-components" ], "scripts": { "jest": "jest", "test": "yarn run eslint && yarn tsc && yarn jest", "test:ci": "yarn test", "test:watch": "jest --watch src", "test:generate-output": "jest --json --outputFile=.jest-test-results.json", "eslint": "eslint src", "custom-start": "echo -e '\n▐█µ ╓▓█▀ ▐█ j█▌ ╓▄ \n▐█▌,▄██─ ▓▌ ▓▌ ▐█▄▄▓▓█▓▄ ▓▌ @▓██▓▓▓\n▐██▀└╙██ █▌ █▌ ▐█─ └█▌ █▌ ██ \n▐█▌ ▀█▌ ██▄▄▄▄▀█▌ ▐██▄╓,▄██` █▌ ╙█▄▄▄'", "postinstall": "echo postinstall", "stylelint": "echo 'no css files'", "start": "yarn run custom-start && storybook dev -p 6006", "build-storybook": "storybook build", "storybook": "storybook dev -p 6006", "predist": "echo predist", "postdist": "cpy 'src/**/*.(svg|ttf|eot|css|png|jpg|otf)' dist/esm --no-overwrite --parents && cpy 'src/**/*.(svg|ttf|eot|css|png|jpg|otf)' dist/cjs --no-overwrite --parents", "dist": "rm -rf dist && yarn dist:cjs && yarn dist:esm && yarn run vite build --config vite.config.mts", "dist:watch": "rm -rf dist && yarn dist:cjs:watch & yarn dist:esm:watch", "dist:cjs": "tsc -p tsconfig-cjs.json && tsc-alias -p tsconfig-cjs.json", "dist:cjs:watch": "tsc -p tsconfig-cjs.json --watch & tsc-alias -p tsconfig-cjs.json --watch", "dist:esm": "tsc -p tsconfig-esm.json && tsc-alias -p tsconfig-esm.json", "dist:esm:watch": "tsc -p tsconfig-esm.json --watch & tsc-alias -p tsconfig-esm.json --watch", "dev:yalc:push": "nodemon --watch dist --exec 'find dist \\( -name '*.svg' -o -name '*.ttf' -o -name '*.otf' -o -name '*.eot' -o -name '*.png' -o -name '*.jpg' \\) -exec rm \"{}\" \\; && yarn postdist && yalc push'", "build": "storybook build -o bundle --disable-telemetry --debug", "storybook:axe": "yarn build && axe-storybook --build-dir bundle", "createAssetsFiles": "node ./scripts/createAssetsFiles.js", "prettier": "prettier 'src/**/*.ts' --write", "test-storybook": "test-storybook", "prepublishOnly": "yarn dist" }, "husky": { "hooks": { "pre-push": "yarn dist && yarn test" } }, "repository": { "type": "git", "url": "git+https://github.com/kubit-ui/kubit-react-components.git" }, "sideEffects": false, "license": "Apache-2.0", "devDependencies": { "@babel/core": "^7.26.0", "@babel/helper-environment-visitor": "^7.24.7", "@babel/helper-split-export-declaration": "^7.24.7", "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@eslint/compat": "^1.2.4", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.16.0", "@kubit-ui-web/eslint-plugin-no-index-import": "^1.0.2", "@storybook/addon-a11y": "^8.4.7", "@storybook/addon-controls": "^8.4.7", "@storybook/addon-coverage": "^1.0.4", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", "@storybook/addon-links": "^8.4.7", "@storybook/addon-themes": "^8.4.7", "@storybook/blocks": "^8.4.7", "@storybook/react": "^8.4.7", "@storybook/react-vite": "^8.4.7", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/jest": "^29.5.14", "@types/jest-axe": "^3.5.9", "@types/mocha": "^10.0.10", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/styled-components": "^5.1.34", "@types/ungap__structured-clone": "^1.2.0", "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "@ungap/structured-clone": "^1.2.0", "@vitejs/plugin-react": "^4.3.4", "babel-jest": "^29.7.0", "cpy-cli": "^5.0.0", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-config-standard-with-typescript": "^43.0.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-n": "^17.14.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.16", "eslint-plugin-storybook": "^0.11.1", "eslint-plugin-unused-imports": "^4.1.4", "glob": "^11.0.3", "globals": "^15.13.0", "gts": "^6.0.2", "html-validate": "^8.27.0", "jest": "^29.7.0", "jest-axe": "^9.0.0", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^29.7.0", "jest-fetch-mock": "^3.0.3", "jest-junit": "^16.0.0", "jest-styled-components": "^7.2.0", "json-beautify": "^1.1.1", "prettier": "^3.4.2", "react-transition-group": "^4.4.5", "rollup-plugin-terser": "^7.0.2", "sort-imports": "^1.1.0", "storybook": "^8.4.7", "ts-jest": "^29.2.5", "tsc-alias": "1.8.10", "typedoc": "^0.27.3", "typescript": "^5.7.2", "vite": "^7.0.0", "vite-plugin-dts": "^4.5.4", "vite-plugin-node-polyfills": "^0.23.0", "vite-tsconfig-paths": "^4.3.2", "yarn-deduplicate": "^6.0.2" }, "dependencies": { "@emotion/is-prop-valid": "^1.3.1", "lottie-web": "^5.12.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-transition-group": "^4.4.5", "styled-components": "^6.1.13" }, "resolutions": { "strip-ansi": "^6.0.1", "string-width": "^4.2.2", "wrap-ansi": "^7.0.0", "@babel/highlight": "7.24.1 " }, "bugs": { "url": "https://github.com/kubit-ui/kubit-react-components/issues" }, "homepage": "https://www.kubit-ui.com/" }