Skip to content

Commit

Permalink
fix(scripts): prevent Storybook from overwriting the static CSS (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Oct 31, 2019
1 parent c203b43 commit 52e29ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"static-styles": "cross-env BABEL_ENV=static babel-node ./scripts/static-styles/cli.js",
"prestart": "yarn test:unit:output",
"start": "start-storybook -p 6006 -s .storybook/public",
"build": "yarn build:stylesheets && yarn build:storybook",
"build": "yarn build:storybook && yarn build:stylesheets",
"prebuild:storybook": "yarn test:unit:output",
"build:storybook": "build-storybook -c .storybook -o dist -s .storybook/public",
"build:stylesheets": "yarn static-styles --global --filePath=./dist/static/circuit-ui-v1.css",
"build:stylesheets": "mkdir -p dist/static && yarn static-styles --global --filePath=./dist/static/circuit-ui-v1.css",
"build:js": "yarn clean:js && yarn build:js:cjs && yarn build:js:es",
"build:js:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib --ignore *.spec.js,*.story.js,*.docs.mdx",
"build:js:es": "cross-env BABEL_ENV=es babel src --out-dir lib/es --ignore *.spec.js,*.story.js,*.docs.mdx",
"clean:js": "rimraf lib",
"predeploy": "rm -rf ./dist && mkdir -p dist/static && yarn build && cp ./src/CNAME ./dist/CNAME",
"predeploy": "rm -rf ./dist && yarn build && cp ./src/CNAME ./dist/CNAME",
"deploy": "gh-pages -d dist",
"prerelease": "yarn build:js",
"release": "semantic-release",
Expand Down

0 comments on commit 52e29ce

Please sign in to comment.