Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
{
|
|
"name": "@react-email/code-block",
|
|
"version": "0.0.11",
|
|
"description": "Display code with a selected theme and regex highlighting using Prism.js",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/resend/react-email.git",
|
|
"directory": "packages/code-block"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"email"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0 || ^19.0 || ^19.0.0-rc"
|
|
},
|
|
"devDependencies": {
|
|
"@types/prismjs": "1.26.5",
|
|
"typescript": "5.1.6",
|
|
"@react-email/render": "1.0.3",
|
|
"tsconfig": "0.0.0",
|
|
"eslint-config-custom": "0.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"prismjs": "1.29.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup src/index.ts --format esm,cjs --dts --external react",
|
|
"clean": "rm -rf dist",
|
|
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
|
|
"lint": "eslint ."
|
|
}
|
|
} |