@tomfreudenberg/next-auth-mock
Version: 
NextAuth.js mockup provider for jest, storybook and others.
55 lines • 1.47 kB
JSON
{
  "name": "@tomfreudenberg/next-auth-mock",
  "version": "0.5.6",
  "description": "NextAuth.js mockup provider for jest, storybook and others.",
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js",
    "./jest": "./dist/jest",
    "./storybook": "./dist/storybook",
    "./storybook/preset": "./dist/storybook/preset/index.js",
    "./storybook/preview-mock-auth-states": "./dist/storybook/preview-mock-auth-states/index.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/TomFreudenberg/next-auth-mock.git"
  },
  "keywords": [
    "nextauthjs",
    "nextjs",
    "jest",
    "storybook",
    "storybook-addons",
    "react",
    "nodejs"
  ],
  "author": "Tom Freudenberg",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/TomFreudenberg/next-auth-mock/issues"
  },
  "homepage": "https://github.com/TomFreudenberg/next-auth-mock#readme",
  "storybook": {
    "displayName": "NextAuth.js Mock",
    "supportedFrameworks": [
      "react"
    ],
    "icon": "https://next-auth.js.org/img/undraw_authentication.svg"
  },
  "devDependencies": {
    "@babel/cli": "^7.19.3",
    "@babel/core": "^7.19.3",
    "@babel/preset-env": "^7.19.3",
    "@babel/preset-react": "^7.18.6",
    "next-auth": "^4.12.3",
    "prop-types": "^15",
    "react": "^18"
  },
  "peerDependencies": {
    "next-auth": "^4.12.3",
    "react": "^18"
  },
  "scripts": {
    "build": "rm -rf ./dist/* ; babel -d ./dist ./src"
  }
}