UNPKG

shallowly

Version:

Shallowly: Modern shallow renderer for React 18+. Enzyme-compatible API, 2x faster, with TypeScript support.

95 lines (94 loc) 2.59 kB
{ "name": "shallowly", "version": "1.1.0", "description": "Shallowly: Modern shallow renderer for React 18+. Enzyme-compatible API, 2x faster, with TypeScript support.", "main": "./dist/main.js", "module": "./dist/main.mjs", "typings": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc && vite build", "build:watch": "tsc && vite build --watch", "coverage": "vitest run --coverage", "dev": "vite", "link": "npm link", "preview": "vite preview", "pub": "npm publish", "test": "vitest", "test:ui": "vitest --ui --changed", "lint": "eslint src tests --fix" }, "keywords": [ "react", "shallow-render", "unit-testing", "jest", "vitest", "enzyme-alternative", "react-18", "react-19", "fast-tests", "lightweight", "typescript", "hooks", "context-api", "suspense", "component-testing", "frontend-testing", "ci-friendly", "rtl-alternative", "migration-from-enzyme", "shallow-rendering-react", "react-test-utils", "dom-free-testing" ], "author": "@bad4iz", "license": "MIT", "devDependencies": { "@eslint/compat": "2.0.2", "@eslint/js": "9.39.1", "@rollup/plugin-typescript": "12.3.0", "@testing-library/jest-dom": "6.9.1", "@types/node": "25.2.3", "@types/react": "19.2.13", "@types/react-dom": "19.2.3", "@typescript-eslint/eslint-plugin": "8.55.0", "@typescript-eslint/parser": "8.55.0", "@vitejs/plugin-react": "5.1.4", "@vitest/coverage-v8": "4.0.18", "@vitest/ui": "4.0.18", "eslint": "9.39.1", "eslint-plugin-bad4iz": "file:./eslint-plugin-bad4iz", "eslint-plugin-import": "2.32.0", "eslint-plugin-jsdoc": "62.5.4", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-sort-keys-fix": "1.1.2", "globals": "17.3.0", "jsdom": "28.0.0", "prettier": "3.8.1", "react": "19.2.4", "react-dom": "19.2.4", "rollup-plugin-typescript-paths": "1.5.0", "tslib": "2.8.1", "typescript": "5.9.3", "typescript-eslint": "8.55.0", "vite": "7.3.1", "vitest": "4.0.18" }, "repository": { "type": "git", "url": "https://github.com/bad4iz/shallowly.git" }, "peerDependencies": { "react": "^19.0.0" }, "bugs": { "url": "https://github.com/bad4iz/shallowly/issues" }, "homepage": "https://github.com/bad4iz/shallowly#readme", "docs": "https://github.com/bad4iz/shallowly/blob/main/docs/index.md" }