UNPKG

storybook-addon-performance

Version:

A storybook addon to help better understand and debug performance for React components

100 lines 3.13 kB
{ "name": "storybook-addon-performance", "version": "0.17.3", "description": "A storybook addon to help better understand and debug performance for React components", "keywords": [ "addon", "storybook", "performance", "storybook-addon", "test", "popular" ], "main": "dist/index.js", "types": "dist/index.d.ts", "module": "dist/index.mjs", "author": "Alex Reardon <areardon@atlassian.com>", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/atlassian-labs/storybook-addon-performance.git" }, "files": [ "/dist" ], "dependencies": { "@storybook/manager-api": "^7.6.10", "@storybook/theming": "^7.6.10", "@storybook/types": "^7.6.10", "@xstate/react": "^3.2.2", "xstate": "^4.38.3" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@storybook/channels": "^7.6.10", "@storybook/components": "^7.6.10", "@storybook/core-events": "^7.6.10", "@storybook/preview-api": "^7.6.10", "@testing-library/react": "^10.4.9", "@types/jest": "^29.5.11", "@types/react": "16.9.17", "@types/react-dom": "16.9.17", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "cypress": "^12.17.4", "eslint": "^8.56.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react-hooks": "^4.6.0", "fflate": "^0.7.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^2.8.8", "react": "^16.14.0", "react-dom": "^16.14.0", "tiny-invariant": "^1.3.1", "ts-jest": "^29.1.2", "tsup": "^6.7.0", "typescript": "^4.9.5" }, "config": { "prettier_target": "src/**/*.{ts,tsx,js,jsx,md,json} test/**/*.{ts,tsx,js,jsx,md,json} examples/**/*.{ts,tsx,js,jsx,md,json}" }, "storybook": { "icon": "https://pbs.twimg.com/profile_images/1118574145724399616/oIyuo8uz_400x400.png", "displayName": "Performance" }, "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./manager": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/index.d.ts" }, "./package.json": "./package.json" }, "engines": { "node": ">=20.0.0" }, "scripts": { "cypress:open": "pnpm cypress open", "cypress:run": "pnpm cypress run", "typescript:check": "pnpm tsc --noEmit", "prettier:check": "pnpm prettier src --debug-check --config ../../.prettierrc", "prettier:write": "pnpm prettier src --write --config ../../.prettierrc", "eslint:check": "eslint -c ../../.eslintrc.js --max-warnings=0", "validate": "pnpm typescript:check && pnpm prettier:check && pnpm eslint:check", "test": "pnpm jest", "watch": "tsup src --watch", "build": "tsup", "preversion": "pnpm test", "postversion": "git add -A && git commit -m \"chore: publishing new version\" && git push --tags" } }