Skip to content

Commit

Permalink
fix: update storybook scripts to handle staticQueries
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiahByDayah committed Sep 11, 2020
1 parent 420faf1 commit 202dc76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -93,8 +93,10 @@
"test:ci": "npm run lint && npm run test",
"type-check": "tsc --noEmit",
"lint": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"storybook": "NODE_ENV=test start-storybook -p 6006 -s ./public",
"build-storybook": "NODE_ENV=test build-storybook -s ./public",
"copy-static-queries": "cp -r ./public/page-data/sq/d ./public/static",
"prestorybook": "npm run copy-static-queries"
},
"pre-commit": [
"format",
Expand Down

0 comments on commit 202dc76

Please sign in to comment.