Skip to content

Commit 02bc7b2

Browse files
author
Callin Mullaney
committed
fix: create dist folder before storybook runs
1 parent 1c64efd commit 02bc7b2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.prod.js",
2626
"build-dev": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.dev.js",
2727
"coverage": "npm run test && open-cli .coverage/lcov-report/index.html",
28-
"develop": "concurrently --raw \"npm run webpack\" \"npm run storybook\"",
28+
"develop": "npm run build-dev && concurrently --raw \"npm run webpack\" \"npm run storybook\"",
2929
"format": "npm run lint-fix; npm run prettier-fix",
3030
"husky:commit-msg": "commitlint --edit $1",
3131
"husky:pre-commit": "lint-staged",
@@ -40,15 +40,15 @@
4040
"storybook": "storybook dev -c node_modules/@emulsify/core/.storybook --ci -p 6006",
4141
"storybook-build": "npm run build && storybook build -c node_modules/@emulsify/core/.storybook -o .out",
4242
"storybook-deploy": "storybook-to-ghpages -o .out",
43-
"style-dictionary:build": "node ./tokens/tokensTransform.js",
43+
"style-dictionary:build": "node ./src/tokens/tokensTransform.mjs",
4444
"test": "jest --coverage --config ./config/jest.config.js",
4545
"tokens:build": "npm run tokens:transform && npm run style-dictionary:build",
46-
"tokens:transform": "token-transformer ./tokens/figma.tokens.json ./tokens/transformed.tokens.json",
46+
"tokens:transform": "token-transformer ./src/tokens/figma.tokens.json ./src/tokens/transformed.tokens.json",
4747
"twatch": "jest --no-coverage --watch --verbose",
4848
"webpack": "webpack --watch --config node_modules/@emulsify/core/config/webpack/webpack.dev.js"
4949
},
5050
"dependencies": {
51-
"@emulsify/core": "^2.0.0"
51+
"@emulsify/core": "^2.3.0"
5252
},
5353
"devDependencies": {
5454
"@commitlint/cli": "^19.4.1",

0 commit comments

Comments
 (0)