UNPKG

storybook-addon-next-router

Version:
73 lines (72 loc) 2.13 kB
{ "author": { "email": "aaron@lifeiscontent.net", "name": "Aaron Reisman", "url": "https://lifeiscontent.net/" }, "dependencies": { "tslib": "2.4.0" }, "description": "Use Next.js Router in your Storybook stories.", "devDependencies": { "@storybook/addon-actions": "6.5.12", "@storybook/addons": "6.5.12", "@storybook/client-api": "6.5.12", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", "@typescript-eslint/eslint-plugin": "5.39.0", "@typescript-eslint/parser": "5.39.0", "eslint": "8.25.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-react": "7.31.8", "eslint-plugin-react-hooks": "4.6.0", "husky": "8.0.1", "next": "13.0.1", "prettier": "2.7.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "4.8.4" }, "engines": { "node": ">=10" }, "files": [ "dist/**/*", "README.md", "*.js" ], "keywords": [ "storybook-addon", "data-state", "popular" ], "license": "MIT", "main": "preset.js", "name": "storybook-addon-next-router", "peerDependencies": { "@storybook/addon-actions": "^6.0.0", "@storybook/addons": "^6.0.0", "@storybook/client-api": "^6.0.0", "next": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "repository": { "type": "git", "url": "https://github.com/lifeiscontent/storybook-addon-next-router.git" }, "scripts": { "build": "tsc --build", "clean": "tsc --build --clean", "lint": "eslint .", "prebuild": "npm run clean", "prepare": "husky install", "start": "npm run build --watch" }, "storybook": { "displayName": "Next.js router", "icon": "https://camo.githubusercontent.com/92ec9eb7eeab7db4f5919e3205918918c42e6772562afb4112a2909c1aaaa875/68747470733a2f2f6173736574732e76657263656c2e636f6d2f696d6167652f75706c6f61642f76313630373535343338352f7265706f7369746f726965732f6e6578742d6a732f6e6578742d6c6f676f2e706e67" }, "types": "dist/index.d.ts", "version": "4.0.2" }