UNPKG

@pulseui/core

Version:

A production-ready, headless React UI component library offering maximum styling flexibility with robust TypeScript support and comprehensive accessibility features

203 lines (202 loc) 6.52 kB
{ "name": "@pulseui/core", "version": "1.0.0", "description": "A production-ready, headless React UI component library offering maximum styling flexibility with robust TypeScript support and comprehensive accessibility features", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "unpkg": "dist/umd/pulse-ui.min.js", "jsdelivr": "dist/umd/pulse-ui.min.js", "files": [ "dist/esm/index.js", "dist/cjs/index.js", "dist/umd/pulse-ui.min.js", "dist/css/style.css", "dist/types/index.d.ts", "README.md", "LICENSE" ], "sideEffects": [ "*.css" ], "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts" }, "./style.css": "./dist/css/style.css" }, "scripts": { "clean": "rimraf dist", "build": "npm run clean && npm run build:types && npm run build:js && npm run build:css", "build:types": "tsc --emitDeclarationOnly --outDir dist/types", "build:js": "rollup -c", "build:css": "postcss src/styles/index.css -o dist/css/style.css", "dev": "rollup -c -w", "lint": "eslint 'src/**/*.{ts,tsx}'", "format": "prettier --write 'src/**/*.{ts,tsx,css,md}'", "test": "jest", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "prepublishOnly": "npm run build", "size": "size-limit", "analyze": "size-limit --why", "semantic-release": "semantic-release", "commit": "git-cz" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "dependencies": { "focus-trap-react": "^11.0.3", "framer-motion": "^12.12.1", "react": ">=16.8.0", "react-dom": ">=16.8.0", "styled-components": "^5.3.10" }, "devDependencies": { "@babel/core": "^7.21.4", "@babel/preset-env": "^7.21.4", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.4", "@commitlint/cli": "^17.6.5", "@commitlint/config-conventional": "^17.6.5", "@commitlint/cz-commitlint": "^17.6.5", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-terser": "^0.4.3", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@size-limit/preset-small-lib": "^8.2.4", "@storybook/addon-actions": "^7.0.5", "@storybook/addon-essentials": "^7.0.5", "@storybook/addon-interactions": "^7.0.5", "@storybook/addon-links": "^7.0.5", "@storybook/react": "^7.0.5", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.5.14", "@types/jest-axe": "^3.5.9", "@types/minimist": "^1.2.5", "@types/mocha": "^10.0.10", "@types/react": "^18.0.38", "@types/react-dom": "^18.0.11", "@types/storybook__react": "^4.0.2", "@types/styled-components": "^5.1.34", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "autoprefixer": "^10.4.14", "commitizen": "^4.3.0", "cssnano": "^6.0.1", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.3", "jest": "^29.5.0", "jest-axe": "^10.0.0", "jest-environment-jsdom": "^29.5.0", "minimist": "^1.2.8", "postcss": "^8.4.24", "postcss-cli": "^10.1.0", "postcss-import": "^15.1.0", "postcss-nested": "^6.0.1", "prettier": "^2.8.7", "rimraf": "^5.0.1", "rollup": "^3.21.0", "rollup-plugin-dts": "^5.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-typescript2": "^0.34.1", "rollup-plugin-visualizer": "^5.9.0", "semantic-release": "^21.0.2", "size-limit": "^8.2.4", "ts-jest": "^29.1.0", "typescript": "^5.0.4" }, "keywords": [ "react", "ui", "components", "library", "design-system", "headless", "typescript", "accessible", "a11y", "styled-components", "pulse-ui", "production-ready", "tree-shakeable", "polymorphic", "compound-components", "wcag", "aria", "theming", "dark-mode" ], "author": "Venkatarama T S K <tskv.0411@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/TSKVenkat/pulse-ui.git" }, "homepage": "https://github.com/TSKVenkat/pulse-ui#readme", "bugs": { "url": "https://github.com/TSKVenkat/pulse-ui/issues" }, "size-limit": [ { "path": "dist/esm/index.js", "limit": "50 KB" }, { "path": "dist/cjs/index.js", "limit": "50 KB" }, { "path": "dist/umd/pulse-ui.min.js", "limit": "60 KB" }, { "path": "dist/css/style.css", "limit": "10 KB" } ], "release": { "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/git", { "assets": [ "package.json", "CHANGELOG.md" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] } }