better-react-web-component
Version:
Wrapper for React Component to CustomElement
46 lines (45 loc) • 1.46 kB
JSON
{
"name": "better-react-web-component",
"version": "1.1.2",
"description": "Wrapper for React Component to CustomElement",
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"scripts": {
"build": "node --no-warnings --loader tsm ./scripts/build.ts && npm run declarations",
"lint": "biome ci src scripts",
"test": "node --no-warnings --loader tsm ./scripts/test.ts",
"declarations": "tsc --declarationDir dist --emitDeclarationOnly --declaration",
"postbuild": "cat package.json | sed '/\\\"devDependencies\\\"/,/}/ d; /^$/d' | sed 's/\\.\\/dist\\//\\.\\//g' > ./package.json && cp README.md dist && cp LICENSE dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Marcisbee/better-react-web-component.git"
},
"keywords": [
"webcomponent",
"web-component",
"customelement",
"custom-element",
"react-to-webcomponent",
"react"
],
"author": "Marcis <marcisbergmanis@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Marcisbee/better-react-web-component/issues"
},
"homepage": "https://github.com/Marcisbee/better-react-web-component#readme",
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
}
}