UNPKG

@oslokommune/punkt-react

Version:

React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo

117 lines (116 loc) 3.28 kB
{ "name": "@oslokommune/punkt-react", "version": "13.1.1", "description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo", "homepage": "https://punkt.oslo.kommune.no", "author": "Team Designsystem, Oslo Origo", "main": "dist/punkt-react.umd.js", "module": "dist/punkt-react.es.js", "nohoist": [ "**/@lit", "**/@lit/**" ], "files": [ "/dist", "src/components/**/*", "CHANGELOG.md", "CONTRIBUTING.md" ], "type": "module", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/punkt-react.es.js", "require": "./dist/punkt-react.umd.js" } }, "scripts": { "dev": "vite", "build": "tsc && vite build", "build-app": "tsc && vite build --config vite.config-app.ts", "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", "lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'", "format": "prettier --write src//**/*.{ts,tsx,css} --config ./.prettierrc", "preview": "vite preview --outDir dist-app", "test": "react-scripts test --env=jsdom" }, "dependencies": { "@lit-labs/ssr-dom-shim": "^1.2.1", "@lit/react": "^1.0.7", "@oslokommune/punkt-elements": "^13.1.0", "angular-html-parser": "^6.0.2", "html-format": "^1.1.7", "prettier": "^3.3.3", "react-element-to-jsx-string": "^15.0.0", "react-hook-form": "^7.53.0", "react-syntax-highlighter": "^15.5.0" }, "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.18.6", "@oslokommune/punkt-assets": "^13.0.0", "@oslokommune/punkt-css": "^13.0.0", "@testing-library/jest-dom": "^6.5.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.12", "@types/jest-axe": "^3.5.9", "@types/node": "^20.12.10", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", "@types/react-syntax-highlighter": "^15.5.13", "@vitejs/plugin-react": "^4.3.1", "classnames": "^2.5.1", "eslint": "^9.10.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", "jest": "^29.7.0", "jest-axe": "^9.0.0", "jest-environment-jsdom": "^29.7.0", "react-hooks": "^1.0.1", "react-scripts": "^5.0.1", "sass": "^1.78.0", "typescript": "^5.6.2", "vite": "^5.4.18", "vite-plugin-dts": "^4.2.1" }, "peerDependencies": { "@oslokommune/punkt-assets": "*", "@oslokommune/punkt-css": "*", "react": ">=18.3.1", "react-dom": ">=18.2.22", "react-router-dom": "^6.26.2" }, "engines": { "node": ">=20.19.1" }, "private": false, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "keywords": [ "punkt", "designsystem", "react", "reactjs", "components", "ux", "ui" ], "jest": { "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!@lit/react)" ] }, "repository": { "type": "git", "url": "git+https://github.com/oslokommune/punkt.git" }, "bugs": { "url": "https://github.com/oslokommune/punkt/issues" }, "license": "MIT", "gitHead": "ce534de41ff451ba18adbcb0492079dd9e4ba00c" }