{ "name": "@cedarjs/testing", "version": "7.1.0", "description": "Tools, wrappers and configuration for testing a Cedar project.", "repository": { "type": "git", "url": "git+https://github.com/cedarjs/cedar.git", "directory": "packages/testing" }, "license": "MIT", "type": "module", "exports": { "./auth": { "types": "./dist/web/mockAuth.d.ts", "default": "./dist/web/mockAuth.js" }, "./api": { "types": "./dist/api/index.d.ts", "default": "./dist/api/index.js" }, "./api/vitest": { "types": "./dist/api/vitest/index.d.ts", "default": "./dist/api/vitest/index.js" }, "./cache": { "types": "./dist/cache/index.d.ts", "default": "./dist/cache/index.js" }, "./web": { "types": "./dist/web/index.d.ts", "default": "./dist/web/index.js" }, "./web/MockRouter.js": { "types": "./dist/web/MockRouter.d.ts", "default": "./dist/web/MockRouter.js" }, "./web/vitest": { "types": "./dist/web/vitest/index.d.ts", "default": "./dist/web/vitest/index.js" } }, "files": [ "dist" ], "scripts": { "build": "node ./build.mts && yarn build:types", "build:pack": "yarn pack -o cedarjs-testing.tgz", "build:types": "tsc --build --verbose ./tsconfig.build.json", "build:watch": "nodemon --watch src --ext 'js,jsx,ts,tsx' --ignore dist --exec 'yarn build'", "check:attw": "yarn cedar-fwtools-attw", "check:package": "concurrently npm:check:attw yarn:publint", "test": "vitest run", "test:watch": "vitest watch" }, "dependencies": { "@cedarjs/context": "workspace:*", "@cedarjs/graphql-server": "workspace:*", "@cedarjs/permissions": "workspace:*", "@cedarjs/project-config": "workspace:*", "@prisma/internals": "catalog:prisma", "@testing-library/dom": "catalog:", "@testing-library/jest-dom": "catalog:", "@testing-library/react": "catalog:", "@testing-library/user-event": "catalog:", "@types/aws-lambda": "catalog:", "@types/jest": "catalog:", "@types/node": "catalog:", "ansis": "catalog:", "fast-glob": "catalog:", "jsdom": "catalog:", "msw": "catalog:", "ts-toolbelt": "catalog:", "unplugin-auto-import": "catalog:" }, "devDependencies": { "@arethetypeswrong/cli": "catalog:", "@cedarjs/auth": "workspace:*", "@cedarjs/framework-tools": "workspace:*", "@cedarjs/router": "workspace:*", "@cedarjs/web": "workspace:*", "concurrently": "catalog:", "publint": "catalog:", "typescript": "catalog:", "vite": "catalog:", "vitest": "catalog:" }, "peerDependencies": { "@cedarjs/auth": "workspace:*", "@cedarjs/router": "workspace:*", "@cedarjs/web": "workspace:*", "vitest": "5.1.1" }, "peerDependenciesMeta": { "vitest": { "optional": true } }, "engines": { "node": ">=24" }, "publishConfig": { "access": "public" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1", "nx": { "targets": { "build": { "outputs": [ "{projectRoot}/dist", "{projectRoot}/config" ] } } } }