UNPKG

storybook-amp

Version:

Storybook addon for AMP Html. Allows to display in your stories AMP Html components generated with React.

97 lines (96 loc) 3 kB
{ "name": "storybook-amp", "version": "3.0.0", "description": "Storybook addon for AMP Html. Allows to display in your stories AMP Html components generated with React.", "author": { "name": "onWidget", "email": "contact@onwidget.com", "url": "https://github.com/onwidget" }, "license": "MIT", "keywords": [ "storybook-addons", "code", "amp", "amp-html", "amphtml", "react", "storybook", "addon", "test", "storybook amp" ], "homepage": "https://storybook.js.org/addons/storybook-amp", "bugs": { "url": "https://github.com/onwidget/storybook-amp/issues" }, "repository": { "type": "git", "url": "https://github.com/onwidget/storybook-amp.git" }, "files": [ "dist/**/*", "render-fn/**/*", "README.md", "preset.js" ], "main": "dist/index.js", "scripts": { "build": "npm run clean && babel ./src/render-fn --ignore '**/*.test.js' --out-dir ./render-fn && babel ./src --ignore '**/*.test.js','src/render-fn' --out-dir ./dist", "watch": "npm run clean && babel ./src/render-fn --ignore '**/*.test.js' --out-dir ./render-fn && babel --watch ./src --ignore '**/*.test.js','src/render-fn' --out-dir ./dist", "clean": "rm -rf dist render-fn", "prepublish": "npm run build", "storybook": "sb dev -c ./example/.storybook -s example/public", "build-storybook": "sb build -c ./example/.storybook -s example/public" }, "dependencies": { "global": "^4.4.0" }, "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.20.5", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@emotion/cache": "^11.10.5", "@emotion/react": "^11.10.5", "@emotion/server": "^11.10.0", "@emotion/styled": "^11.10.5", "@storybook/addon-backgrounds": "^7.0.0", "@storybook/addon-controls": "^7.0.0", "@storybook/addon-docs": "^7.0.0", "@storybook/addon-links": "^7.0.0", "@storybook/addon-storysource": "^7.0.0", "@storybook/addon-viewport": "^7.0.0", "@storybook/cli": "^7.0.0", "@storybook/react": "^7.0.0", "@storybook/react-webpack5": "^7.0.0", "babel-loader": "^8.2.2", "react": "^18.0.0", "react-dom": "^18.0.0", "storybook-css-modules": "^1.0.8", "styled-components": "^5.3.6" }, "peerDependencies": { "@storybook/addons": "^7.0.0", "@storybook/components": "^7.0.0", "@storybook/core-events": "^7.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "publishConfig": { "access": "public" }, "engines": { "node": ">=14" }, "storybook": { "displayName": "Storybook AMP Html", "unsupportedFrameworks": [], "supportedFrameworks": [ "react" ], "icon": "https://raw.githubusercontent.com/onwidget/storybook-amp/main/amp-logo.png" } }