UNPKG

@fast-check/jest

Version:

Property based testing for Jest based on fast-check

104 lines 2.97 kB
{ "name": "@fast-check/jest", "description": "Property based testing for Jest based on fast-check", "version": "2.2.0", "type": "module", "main": "lib/jest-fast-check.js", "exports": { "./package.json": "./package.json", "./worker": { "require": { "types": "./lib/cjs/jest-fast-check-worker.d.ts", "default": "./lib/cjs/jest-fast-check-worker.js" }, "import": { "types": "./lib/jest-fast-check-worker.d.ts", "default": "./lib/jest-fast-check-worker.js" } }, ".": { "require": { "types": "./lib/cjs/jest-fast-check.d.ts", "default": "./lib/cjs/jest-fast-check.js" }, "import": { "types": "./lib/jest-fast-check.d.ts", "default": "./lib/jest-fast-check.js" } } }, "module": "lib/jest-fast-check.js", "types": "lib/jest-fast-check.d.ts", "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/dubzzz/fast-check.git", "directory": "packages/jest" }, "author": "Nicolas DUBIEN <github@dubien.org>", "license": "MIT", "bugs": { "url": "https://github.com/dubzzz/fast-check/issues" }, "homepage": "https://github.com/dubzzz/fast-check/tree/main/packages/jest#readme", "dependencies": { "fast-check": "^3.0.0 || ^4.0.0" }, "peerDependencies": { "@fast-check/worker": ">=0.0.7 <0.7.0", "@jest/expect": ">=28.0.0", "@jest/globals": ">=25.5.2" }, "peerDependenciesMeta": { "@fast-check/worker": { "optional": true }, "@jest/expect": { "optional": true } }, "devDependencies": { "@babel/plugin-transform-modules-commonjs": "^7.28.6", "@jest/expect": "^30.2.0", "@jest/globals": "^30.2.0", "@types/jest": "^30.0.0", "@types/node": "^24.12.0", "babel-jest": "^30.2.0", "jest": "^30.2.0", "jest-jasmine2": "^30.2.0", "typescript": "6.0.0-beta", "vite": "^7.3.1", "vitest": "^4.0.18", "@fast-check/jest": "2.2.0", "@fast-check/worker": "0.6.0", "fast-check": "4.6.0" }, "keywords": [ "jest", "generative", "property-based testing", "testing", "quickcheck", "fast-check" ], "funding": [ { "type": "individual", "url": "https://github.com/sponsors/dubzzz" }, { "type": "opencollective", "url": "https://opencollective.com/fast-check" } ], "scripts": { "build": "rolldown -c && cp package.cjs-template.json lib/cjs/package.json && cp lib/*.d.ts lib/cjs/", "build-ci": "rolldown -c && cp package.cjs-template.json lib/cjs/package.json && cp lib/*.d.ts lib/cjs/", "test-bundle:cjs": "jest --config test-bundle/cjs/jest.config.cjs", "test-bundle:mjs": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config test-bundle/mjs/jest.config.mjs", "test-bundle": "pnpm run test-bundle:cjs && pnpm run test-bundle:mjs", "typecheck": "tsc --noEmit" } }