UNPKG

codice

Version:

Codice is a slim React components suite for code editing and displaying story. It provides an editor component and a code block component with syntax highlighting. Styling customization is enabled through CSS variables and HTML attributes.

42 lines 869 B
{ "name": "codice", "version": "1.4.0", "type": "module", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "author": "huozhi", "files": [ "dist" ], "peerDependencies": { "react": "^18.0.0 || ^19.0.0" }, "license": "MIT", "devDependencies": { "@types/react": "^19.0.7", "bunchee": "^6.5.2", "html-to-image": "^1.11.13", "next": "latest", "react": "^19.0.0", "react-dom": "^19.0.0", "typescript": "^5.7.3", "vitest": "^3.0.2", "@tailwindcss/postcss": "^4.1.8", "postcss": "^8.5.4", "tailwindcss": "^4.1.8" }, "resolutions": { "react": "^19.0.0", "react-dom": "^19.0.0", "next": "15.3.2" }, "dependencies": { "sugar-high": "^0.9.3" }, "scripts": { "build": "bunchee", "test": "vitest", "dev": "bunchee --watch", "site": "next dev site" } }