react-install-command
Version:
A React component for rendering a 'npm install package-name' command block. Supports multiple package managers and themes. Drop it into your MDX code, a ShadCN UI component, a Tailwind codebase, use built-in styles or go unstyled. You choose.
131 lines • 3.53 kB
JSON
{
"name": "react-install-command",
"description": "A React component for rendering a 'npm install package-name' command block. Supports multiple package managers and themes. Drop it into your MDX code, a ShadCN UI component, a Tailwind codebase, use built-in styles or go unstyled. You choose.",
"version": "2.0.0",
"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
"license": "MIT",
"keywords": [
"react-component",
"package-manager-ui",
"npm-install",
"yarn-add",
"pnpm-add",
"install-command",
"installation-ui",
"package-installer",
"mdx-component",
"shadcn-ui",
"tailwind-component",
"copy-to-clipboard",
"package-manager",
"npm",
"yarn",
"pnpm",
"react",
"ui-component",
"installation-instructions",
"code-block",
"command-block",
"package-installation",
"react-ui",
"documentation-component",
"docs-component",
"npm-commands",
"package-management",
"developer-tools",
"react-documentation",
"mdx"
],
"repository": {
"type": "git",
"url": "https://github.com/TimMikeladze/react-install-command"
},
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./styles.css": "./dist/styles.css"
},
"files": [
"dist"
],
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@iconify/react": "^5.2.0",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7",
"@storybook/addon-links": "8.4.7",
"@storybook/addon-webpack5-compiler-swc": "2.0.0",
"@storybook/blocks": "8.4.7",
"@storybook/react": "8.4.7",
"@storybook/react-webpack5": "8.4.7",
"@storybook/test": "8.4.7",
"@storybook/theming": "^8.5.5",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@types/node": "22.10.5",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"@types/react-test-renderer": "18.3.0",
"@vitest/coverage-v8": "2.1.8",
"concurrently": "9.1.2",
"jsdom": "25.0.1",
"lefthook": "1.10.1",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"release-it": "17.11.0",
"storybook": "8.4.7",
"storybook-dark-mode": "^4.0.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.3.5",
"tsx": "4.19.2",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"dependencies": {
"html2canvas": "^1.4.1"
},
"scripts": {
"dev": "concurrently \"pnpm build --watch\" \"pnpm storybook\" \"pnpm test\" ",
"build": "tsup",
"lint": "biome check --write --unsafe .",
"lint:ci": "biome check --unsafe .",
"test": "vitest",
"test:ci": "vitest run --coverage",
"commit": "cz",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"release": "pnpm build && pnpm release-it",
"link:self": "pnpm link --global"
}
}