UNPKG

@tidy-ui/code

Version:

The Code component elegantly displays preformatted text, such as JavaScript code, on your webpage while maintaining its original format. With a convenient copy-to-clipboard button and seamless theming, sharing and styling code has never been smoother.

64 lines (63 loc) 1.83 kB
{ "name": "@tidy-ui/code", "version": "0.48.23", "readme": "README.md", "scripts": { "build": "yarn clean && rollup -c ../../rollup.config.js --environment PACKAGE_NAME:code", "build:md": "markdown-include ../../.markdown.json", "clean": "rimraf -rf dist && rimraf -rf build", "postinstall": "rm -rf node_modules/@types/react-native", "reset": "yarn clean && rimraf -rf node_modules", "vet": "yarn lint", "yalc:publish": "yarn build && yalc publish", "yalc:push": "yarn build && yalc push", "docs": "jsdoc -X -c ../../jsdoc.conf.json > jsdoc.json" }, "dependencies": { "@tidy-ui/commons": "^0.48.23" }, "peerDependencies": { "react": "^18.0.0", "styled-components": "^5.3.3" }, "module": "./dist/index.esm.js", "main": "./dist/index.cjs.js", "exports": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js", "default": "./dist/index.esm.js", "types": "./dist/src/index.d.ts" }, "types": "./dist/src/index.d.ts", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/badatt/tidy-ui" }, "author": { "name": "Balu Praveen Datty", "email": "dev.badatt@gmail.om", "url": "https://github.com/badatt" }, "keywords": [ "react", "styled-components", "css-in-js", "react-ui", "components", "ui", "ui-components", "Code", "pre-formatted" ], "description": "The Code component elegantly displays preformatted text, such as JavaScript code, on your webpage while maintaining its original format. With a convenient copy-to-clipboard button and seamless theming, sharing and styling code has never been smoother.", "publishConfig": { "access": "public" }, "files": [ "dist", "LICENSE", "jsdoc.json", "README.md" ] }