mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
CHANGE the bootstrap method for now.sh build
This commit is contained in:
parent
bd8cff312a
commit
3238fb8e98
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "ng build",
|
||||
"build-storybook": "npm run storybook:prebuild && build-storybook -s src/assets",
|
||||
"e2e": "ng e2e",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "react-scripts build",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"eject": "react-scripts eject",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"lint": "tslint src/**/*.ts{,x}",
|
||||
"storybook": "start-storybook -p 9010 -s public",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "ember build",
|
||||
"build-storybook": "yarn build && cp -r public/* dist && build-storybook -s dist",
|
||||
"dev": "ember serve",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"author": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook",
|
||||
"generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json",
|
||||
"storybook": "start-storybook -p 9006"
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "NODE_ENV=production marko-starter build",
|
||||
"build-storybook": "build-storybook",
|
||||
"prettier": "prettier src/**/*.{js,css,less} *.js --write",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook",
|
||||
"storybook": "start-storybook -p 9007"
|
||||
},
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook -c ./ -s built-storybooks",
|
||||
"chromatic": "chromatic test --storybook-addon --exit-zero-on-changes --app-code ab7m45tp9p",
|
||||
"do-image-snapshots": "../../node_modules/.bin/jest --projects=./image-snapshots",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook",
|
||||
"start": "webpack-dev-server",
|
||||
"storybook": "start-storybook -p 9001 -c .storybook"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"storybook": "start-storybook -p 9009 -s public"
|
||||
},
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "5.0.0-beta.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"now-build": "yarn run build-storybook --quiet",
|
||||
"now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet",
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"build-storybook": "build-storybook -s public",
|
||||
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
||||
|
@ -15,7 +15,6 @@
|
||||
"lib/cli/test/run/*"
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "yarn bootstrap --core",
|
||||
"bootstrap": "node ./scripts/bootstrap.js",
|
||||
"bootstrap:crna-kitchen-sink": "npm --prefix examples-native/crna-kitchen-sink install",
|
||||
"bootstrap:docs": "yarn install --cwd docs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user