@react-lib-tech/react-tsx-to-jsx
Version:
A tiny React component library (JS) for converting TSX → JSX and extracting text
62 lines (61 loc) • 1.52 kB
JSON
{
"name": "@react-lib-tech/react-tsx-to-jsx",
"version": "1.0.11",
"description": "A tiny React component library (JS) for converting TSX → JSX and extracting text",
"author": "Abhishek Kumar Singh",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "tsup src/index.js --format cjs,esm --dts",
"dev": "tsup src/index.js --watch --format cjs,esm --dts",
"clean": "rm -rf dist",
"pb": "npm run build && npm publish --access public"
},
"peerDependencies": {
"@babel/parser": "^7.26.2",
"@babel/traverse": "^7.26.2",
"axios": "^1.11.0",
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1"
},
"dependencies": {
"@babel/parser": "^7.26.2",
"@babel/traverse": "^7.26.2",
"axios": "^1.11.0",
"jsdom": "^24.0.0",
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1"
},
"devDependencies": {
"esbuild": "^0.25.9",
"tsup": "^8.1.0",
"typescript": "^5.9.2"
},
"keywords": [
"react",
"library",
"tsx-to-jsx",
"typescript",
"babel"
],
"publishConfig": {
"access": "public"
}
}