UNPKG

@nosto/nosto-react

Version:

Component library to simply implementing Nosto on React.

81 lines (80 loc) 2.24 kB
{ "name": "@nosto/nosto-react", "description": "Component library to simply implementing Nosto on React.", "version": "2.7.1", "author": "Mridang Agarwalla, Dominik Gilg", "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/Nosto/nosto-react.git" }, "keywords": [ "nosto", "personalisation" ], "scripts": { "dev": "vite", "build": "tsc && npm run lint && vite build && npm run typedoc", "preview": "vite preview", "prepare": "vite build", "typecheck": "tsc", "lint": "eslint 'src/**/*.{ts,tsx}' --cache", "clean": "rimraf dist", "prettier": "prettier '{src,spec}/**' --list-different", "prettier:fix": "prettier '{src,spec}/**' --write", "test": "vitest run --silent", "test-loud": "vitest run", "typedoc": "typedoc --treatWarningsAsErrors src/index.ts" }, "files": [ "dist", "src" ], "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "devDependencies": { "@nosto/nosto-js": "^1.3.1", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.4.3", "@types/react": "^19.0.2", "@types/react-dom": "^19.0.0", "@types/user-event": "^4.1.1", "@vitejs/plugin-react": "^4.3.1", "eslint": "^9.13.0", "eslint-plugin-barrel-files": "^3.0.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-react": "^7.33.2", "prettier": "^3.3.3", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router": "^7.0.1", "react-router-dom": "^7.0.1", "rimraf": "^6.0.1", "rollup-plugin-visualizer": "^5.13.1", "typedoc": "^0.28.0", "typescript": "^5.6.3", "typescript-eslint": "^8.13.0", "vite": "^6.0.3", "vite-plugin-dts": "^4.2.2", "vitest": "^3.0.2" }, "main": "./dist/index.umd.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js", "types": "./dist/index.d.ts" } }, "bugs": { "url": "https://github.com/Nosto/nosto-react/issues" }, "publishConfig": { "access": "public" } }