UNPKG

@stencil/react-output-target

Version:

React output target for @stencil/core components.

88 lines (87 loc) 2.17 kB
{ "name": "@stencil/react-output-target", "version": "1.3.3", "description": "React output target for @stencil/core components.", "author": "Ionic Team", "homepage": "https://stenciljs.com/", "license": "MIT", "bugs": { "url": "https://github.com/stenciljs/output-targets/issues" }, "files": [ "dist/", "runtime.d.ts" ], "publishConfig": { "access": "public" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./runtime": { "types": "./dist/runtime/index.d.ts", "import": "./dist/runtime.js", "require": "./dist/runtime.cjs" }, "./ssr": { "types": "./dist/runtime/ssr.d.ts", "import": "./dist/ssr.js", "require": "./dist/ssr.cjs" } }, "scripts": { "prepublishOnly": "pnpm run build", "build": "vite build", "dev": "vite build --watch", "version": "pnpm run build", "prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\" --write", "release": "np", "test": "vitest run", "test.watch": "vitest --watch", "coverage": "vitest run --coverage" }, "repository": { "type": "git", "url": "git+https://github.com/stenciljs/output-targets.git" }, "peerDependencies": { "@stencil/core": ">=3 || >= 4.0.0-beta.0 || >= 4.0.0", "react": "^18 || ^19", "react-dom": "^18 || ^19" }, "devDependencies": { "@stencil/core": "4.41.0", "@types/node": "^20.14.12", "@types/react": "^18 || ^19", "@types/react-dom": "^18 || ^19", "npm-run-all2": "^6.2.4", "ts-dedent": "^2.2.0", "typescript": "^5.4.4", "vite": "^5.0.0", "vite-plugin-dts": "^3.8.1" }, "dependencies": { "@lit/react": "^1.0.7", "html-react-parser": "^5.2.2", "react-style-stringify": "^1.2.0", "ts-morph": "^22.0.0" }, "peerDependenciesMeta": { "@stencil/core": { "optional": false }, "react": { "optional": false }, "react-dom": { "optional": false } } }