UNPKG

react-html-element

Version:

An HTMLElement extension that provides a simple setup for Web Components using React.

100 lines (99 loc) 2.89 kB
{ "name": "react-html-element", "version": "4.0.5", "description": "An HTMLElement extension that provides a simple setup for Web Components using React.", "main": "module/index.js", "types": "types/index.d.ts", "exports": { "import": "./module/index.js", "require": "./dist/index.js", "default": "./module/index.js", "types": "./types/index.d.ts" }, "files": [ "dist", "module", "types" ], "scripts": { "test": "npm run lint && npm run build && jest", "build": "tsc -p tsconfig.json && tsc -p require-tsconfig.json", "lint": "eslint --ext .js,.jsx,.ts,.tsx ./src", "prepack": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/im-open/react-html-element.git" }, "keywords": [ "React", "HTMLElement", "Web Components" ], "author": "Steve Matney", "license": "ISC", "bugs": { "url": "https://github.com/im-open/react-html-element/issues" }, "homepage": "https://github.com/im-open/react-html-element#readme", "lint-staged": { "src/**/*.(j|t)s?(x)": [ "prettier --write", "eslint --fix" ], "*.md": [ "prettier --write --parser markdown" ] }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "peerDependencies": { "react": ">=17", "react-dom": ">=17" }, "devDependencies": { "@babel/core": "^7.12.10", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.12.10", "@babel/preset-typescript": "^7.12.7", "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@testing-library/dom": "^8.19.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@types/jest": "^26.0.20", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.9", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "conventional-changelog-eslint": "^6.0.0", "eslint": "^7.18.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^7.2.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", "husky": "^4.3.8", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "lint-staged": "^10.5.3", "prettier": "2.2.1", "react": "^18.2.0", "react-dom": "^18.2.0", "semantic-release": "^24.2.3", "typescript": "^4.9.3" }, "dependencies": { "@webcomponents/webcomponentsjs": "^2.5.0" } }