UNPKG

@enonic/react-components

Version:

Library of React components for handling Enonic XP data and page components

99 lines (98 loc) 2.55 kB
{ "author": "Espen Norderud", "bugs": { "url": "https://github.com/enonic/npm-react-components/issues" }, "contributors": [ "Christian Andreas Westgaard", "Pavel Milkevich" ], "description": "Library of React components for handling Enonic XP data and page components", "devDependencies": { "@enonic-types/core": "^7.15.0", "@enonic-types/lib-content": "^7.15.0", "@enonic-types/lib-node": "^7.15.0", "@enonic-types/lib-portal": "^7.15.0", "@enonic/js-utils": "^1.8.1", "@jest/globals": "^30.0.0", "@swc/core": "^1.10.0", "@testing-library/react": "^16.0.1", "@types/diffable-html": "^5.0.2", "clsx": "^2.1.1", "del-cli": "^6.0.0", "diffable-html": "^5.0.0", "domelementtype": "^2.3.0", "jest": "^30.0.2", "jest-environment-jsdom": "^30.0.4", "ts-jest": "^29.2.5", "tsup": "^8.3.0", "typescript": "^5.7.2", "uri-js": "^4.4.1" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./*": { "types": "./dist/*.d.ts", "import": "./dist/*.mjs", "require": "./dist/*.cjs" } }, "files": [ "dist", "LICENCE", "package.json", "README.md" ], "homepage": "https://github.com/enonic/enonic-react-components", "keywords": [ "enonic", "react", "components", "RichText", "Page", "Region", "Layout" ], "license": "Apache-2.0", "main": "dist/index.cjs", "module": "dist/index.mjs", "name": "@enonic/react-components", "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "*", "@swc/core-linux-x64-gnu": "*" }, "peerDependencies": { "@enonic-types/core": "^7.15.0", "@enonic-types/lib-portal": "^7.15.0", "@enonic-types/lib-schema": "^7.15.0", "@types/react": "^18.3.13", "html-react-parser": "*", "prop-types": "*", "react": "^18.3.1" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+ssh://git@github.com:enonic/enonic-react-components.git" }, "scripts": { "build": "npx tsup", "prod": "npm run build -- --env.BUILD_ENV prod", "clean": "del-cli dist/ *.tgz", "check:types": "npx tsc --noEmit", "cov": "npx jest --coverage --no-cache", "prebuild": "npm run clean", "prepack": "npm run prod", "prepublishOnly": "node setversion.cjs", "test": "npx jest --no-cache" }, "type": "module", "types": "dist/index.d.ts", "version": "6.0.0" }