mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:31:19 +08:00
Fix smoke tests
This commit is contained in:
parent
b6e27b045c
commit
1eb6d74375
@ -41,7 +41,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"example": "jest storyshot.test",
|
||||
"prepare": "node ../../../scripts/prepare.js",
|
||||
"storybook": "sb start -p 6006"
|
||||
"storybook": "yarn sb start -p 6006"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^26.6.2",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"eject": "react-scripts eject",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"start": "react-scripts start",
|
||||
"storybook": "sb start -p 9010 --no-manager-cache",
|
||||
"storybook": "yarn sb start -p 9010 --no-manager-cache",
|
||||
"test": "react-scripts test --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"eject": "react-scripts eject",
|
||||
"start": "react-scripts start",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache",
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache",
|
||||
"test": "react-scripts test --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -8,7 +8,7 @@
|
||||
"eject": "react-scripts eject",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"start": "react-scripts start",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache",
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache",
|
||||
"test": "SKIP_PREFLIGHT_CHECK=true react-scripts test"
|
||||
},
|
||||
"browserslist": {
|
||||
|
@ -8,7 +8,7 @@
|
||||
"eject": "react-scripts eject",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"start": "react-scripts start",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache",
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache",
|
||||
"test": "react-scripts test"
|
||||
},
|
||||
"browserslist": {
|
||||
|
@ -7,9 +7,9 @@
|
||||
"build-storybook": "yarn storybook-prebuild && sb build",
|
||||
"dev": "ember serve",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "yarn build && sb start -p 9009 --no-manager-cache",
|
||||
"storybook": "yarn build && yarn sb start -p 9009 --no-manager-cache",
|
||||
"storybook-prebuild": "yarn build && shx cp -r public/* ember-output",
|
||||
"storybook:dev": "yarn dev & sb start -p 9009"
|
||||
"storybook:dev": "yarn dev & yarn sb start -p 9009"
|
||||
},
|
||||
"dependencies": {
|
||||
"ember-named-blocks-polyfill": "^0.2.3",
|
||||
|
@ -11,7 +11,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "sb start -p 9006 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9006 --no-manager-cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.5.0-alpha.57",
|
||||
|
@ -4,11 +4,11 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb build -c ./",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011 -c ./",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011 -c ./",
|
||||
"do-storyshots-puppeteer": "../../node_modules/.bin/jest --projects=./storyshots-puppeteer",
|
||||
"generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011 -c ./ --no-manager-cache",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011 -c ./ --no-manager-cache",
|
||||
"storyshots-puppeteer": "yarn run sb build && yarn run do-storyshots-puppeteer"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"global": "^4.4.0",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb build -c ./",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011 -c ./",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011 -c ./ --no-manager-cache"
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011 -c ./",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011 -c ./ --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.5.0-alpha.57",
|
||||
|
@ -4,9 +4,9 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb build",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start --no-manager-cache"
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"formik": "^2.2.9",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"server": "PORT=1337 nodemon server.js",
|
||||
"start": "concurrently \"yarn server\" \"yarn storybook\"",
|
||||
"storybook": "SERVER_PORT=1137 sb start -p 9006 --quiet"
|
||||
"storybook": "SERVER_PORT=1137 yarn sb start -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.5.0-alpha.57",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb start -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html",
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true yarn sb start -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html",
|
||||
"storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"build-storybook": "sb build",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"global": "^4.4.0"
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"serve": "vue-cli-service serve",
|
||||
"storybook": "sb start -p 6006 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 6006 --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.8.2",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"serve": "vue-cli-service serve",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.8.2",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "sb start -p 9009 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9009 --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.6.12",
|
||||
|
@ -11,7 +11,7 @@
|
||||
"build-storybook": "sb build",
|
||||
"generate-custom-elements-manifest": "yarn custom-elements-manifest analyze --litelement --dev --exclude \"./**/*.stories.ts\" --exclude \"./storybook-static\"",
|
||||
"sb": "node ../../lib/cli/bin/index.js",
|
||||
"storybook": "sb start -p 9006 --no-manager-cache"
|
||||
"storybook": "yarn sb start -p 9006 --no-manager-cache"
|
||||
},
|
||||
"resolutions": {
|
||||
"@storybook/addon-a11y": "portal:../../addons/a11y",
|
||||
|
Loading…
x
Reference in New Issue
Block a user