From 02bc7b28489dbcb000d4252d82a526c40dc7d7dc Mon Sep 17 00:00:00 2001 From: Callin Mullaney <57088-callinmullaney@users.noreply.drupalcode.org> Date: Thu, 24 Oct 2024 14:54:24 -0500 Subject: [PATCH] fix: create dist folder before storybook runs --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index dbf553b..9c8d1e7 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.prod.js", "build-dev": "webpack --config node_modules/@emulsify/core/config/webpack/webpack.dev.js", "coverage": "npm run test && open-cli .coverage/lcov-report/index.html", - "develop": "concurrently --raw \"npm run webpack\" \"npm run storybook\"", + "develop": "npm run build-dev && concurrently --raw \"npm run webpack\" \"npm run storybook\"", "format": "npm run lint-fix; npm run prettier-fix", "husky:commit-msg": "commitlint --edit $1", "husky:pre-commit": "lint-staged", @@ -40,15 +40,15 @@ "storybook": "storybook dev -c node_modules/@emulsify/core/.storybook --ci -p 6006", "storybook-build": "npm run build && storybook build -c node_modules/@emulsify/core/.storybook -o .out", "storybook-deploy": "storybook-to-ghpages -o .out", - "style-dictionary:build": "node ./tokens/tokensTransform.js", + "style-dictionary:build": "node ./src/tokens/tokensTransform.mjs", "test": "jest --coverage --config ./config/jest.config.js", "tokens:build": "npm run tokens:transform && npm run style-dictionary:build", - "tokens:transform": "token-transformer ./tokens/figma.tokens.json ./tokens/transformed.tokens.json", + "tokens:transform": "token-transformer ./src/tokens/figma.tokens.json ./src/tokens/transformed.tokens.json", "twatch": "jest --no-coverage --watch --verbose", "webpack": "webpack --watch --config node_modules/@emulsify/core/config/webpack/webpack.dev.js" }, "dependencies": { - "@emulsify/core": "^2.0.0" + "@emulsify/core": "^2.3.0" }, "devDependencies": { "@commitlint/cli": "^19.4.1",