UNPKG

@zendesk/laika

Version:

Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests!

109 lines (108 loc) 2.83 kB
{ "name": "@zendesk/laika", "version": "1.4.2", "description": "Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests!", "keywords": [ "apollo", "apollo-client", "graphql", "mock", "testing", "test", "apollo-link", "link" ], "bugs": { "url": "https://github.com/zendesk/laika/issues" }, "repository": { "type": "git", "url": "https://github.com/zendesk/laika.git" }, "engines": { "node": ">=12.0.0" }, "license": "Apache-2.0", "author": "Zendesk <pingu-npm@zendesk.com>", "sideEffects": false, "exports": { ".": { "import": "./esm/main.js", "require": "./cjs/main.js" }, "./*": { "import": "./esm/*.js", "require": "./cjs/*.js" }, "./cjs": { "require": "./cjs/main.js" }, "./cjs/*": { "require": "./cjs/*.js" }, "./esm/*": { "import": "./esm/*.js" }, "./package.json": "./package.json" }, "main": "cjs/main.js", "module": "esm/main.js", "source": "src/main.ts", "scripts": { "build": "yarn build:cjs && yarn build:esm", "build:cjs": "yarn rrun tsc --outDir cjs --module commonjs --target es2015", "build:esm": "yarn rrun tsc --outDir esm --module esnext --target es2015", "clean": "git clean -dfX --exclude=node_modules src && beemo typescript:sync-project-refs", "format": "yarn rrun prettier --write \"./{src,tests}/**/*.{js,jsx,ts,tsx,json,md}\"", "postinstallDev": "yarn prepare", "prepare": "rrun husky install .config/husky && beemo create-config", "release": "beemo run-script release", "test": "yarn test:format && yarn test:types && yarn test:lint && yarn test:code", "test:code": "beemo jest", "test:format": "yarn rrun prettier --check \"./{src,tests}/**/!(*.d).{.js,jsx,ts,tsx,json,md}\"", "test:lint": "rrun eslint 'src/**'", "test:types": "yarn rrun tsc --noEmit" }, "dependencies": { "lodash": "^4.17.21" }, "devDependencies": { "@apollo/client": "^3.13.1", "@niieani/scaffold": "^1.7.44", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.15", "graphql": "^15.6.1 || ^16.0.0", "graphql-tag": "^2.12.6", "wait-for-observables": "^1.0.3" }, "peerDependencies": { "@apollo/client": ">=3.2.5" }, "publishConfig": { "access": "public" }, "collaborators": [ "Bazyli Brzóska <bbrzoska@zendesk.com>" ], "release": { "tagFormat": "${version}", "branches": [ "+([0-9])?(.{+([0-9]),x}).x", "master", { "name": "main", "channel": false }, "next", { "name": "beta", "prerelease": true }, { "name": "alpha", "prerelease": true } ] }, "packageManager": "yarn@4.6.0" }