UNPKG

shallowly

Version:

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

99 lines (98 loc) 2.76 kB
{ "name": "shallowly", "version": "1.0.11", "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/main.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" }, "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", "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@eslint/compat": "^1.2.8", "@eslint/js": "^9.25.1", "@rollup/plugin-typescript": "12.1.2", "@testing-library/jest-dom": "^6.6.3", "@types/node": "22.14.0", "@types/react": "^19.1.0", "@types/react-dom": "^19.1.2", "@typescript-eslint/eslint-plugin": "^8.29.1", "@typescript-eslint/parser": "^8.29.1", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "eslint": "9.24.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-bad4iz": "bad4iz/eslint-plugin-bad4iz", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-sort-keys-fix": "^1.1.2", "eslint-plugin-vitest": "^0.5.4", "globals": "^16.0.0", "jsdom": "^26.0.0", "prettier": "3.5.3", "rollup-plugin-typescript-paths": "1.5.0", "tslib": "2.8.1", "typescript": "5.8.3", "typescript-eslint": "^8.31.0", "vite": "6.2.6", "vitest": "3.2.4" }, "repository": { "type": "git", "url": "https://github.com/bad4iz/shallowly.git" }, "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", "dependencies": { "react": "^19.1.0", "react-dom": "^19.1.0" } }