fune/browser/components/storybook/package.json
Hanna Jones eb9fd58f2b Bug 1799699 - expand storybook args table docs r=mstriemer,tgiles
This is still far from perfect given the limitations of the Storybook web components package, but I figured this was worth putting up since it's still an improvement over the current state of our args tables (I think).

I'm mostly leaving the default generated `custom-elements-manifest.json` alone save for filtering some internal properties we don't want documented since they shouldn't really be accessed directly. If it seems too strange to just have the `aria-label` attr documented we could possibly remove `attributes` from the docs for now (this happens because it's the only attr where the name is different from the property name).

Open to feedback/thoughts on if this is useful or too wonky for now given the weirdness around how Storybook creates naming collisions.

Differential Revision: https://phabricator.services.mozilla.com/D162599
2023-01-23 23:52:36 +00:00

28 lines
882 B
JSON

{
"name": "browser-storybook",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"analyze": "cem analyze",
"test": "echo \"Error: no test specified\" && exit 1",
"build-storybook": "npm run analyze && build-storybook",
"storybook": "npm run analyze && start-storybook -p 5703 --no-open"
},
"author": "",
"license": "MPL-2.0",
"devDependencies": {
"@babel/core": "^7.16.0",
"@custom-elements-manifest/analyzer": "^0.6.6",
"@fluent/bundle": "^0.17.1",
"@fluent/dom": "^0.8.1",
"@storybook/addon-a11y": "^6.5.15",
"@storybook/addon-actions": "^6.4.8",
"@storybook/addon-essentials": "^6.4.8",
"@storybook/addon-links": "^6.4.8",
"@storybook/builder-webpack5": "^6.4.8",
"@storybook/manager-webpack5": "^6.4.8",
"@storybook/web-components": "^6.4.8",
"babel-loader": "^8.2.3"
}
}