Skip to content

Commit f43be61

Browse files
authored
fix(vrt) Add proper commands for launching legacy environment (#4718)
1 parent 96928b2 commit f43be61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@
211211
"scripts": {
212212
"storybook:prepare": "npm run gulp -- storybook:prepare",
213213
"start": "npm run storybook:prepare && start-storybook -c .storybook -p 9002",
214-
"start:mobile": "STORYBOOK_STORIES_TYPE='mobile' start-storybook -c .storybook -p 9003",
215-
"start:legacy": "STORYBOOK_SLDS_VERSION=legacy start-storybook -c .storybook -p 9004",
214+
"start:mobile": "npm run storybook:prepare && STORYBOOK_STORIES_TYPE='mobile' start-storybook -c .storybook -p 9003",
215+
"start:legacy": "npm run storybook:prepare && STORYBOOK_SLDS_VERSION=legacy start-storybook -c .storybook -p 9004",
216216
"build": "npm run gulp -- build",
217217
"dist": "npm run gulp -- dist",
218218
"dist:simple": "npm run gulp -- dist:simple",
@@ -233,7 +233,7 @@
233233
"heroku-postbuild": "npm run build && npm run dist && npm run storybook:build",
234234
"local:vrt": "npm run storybook:prepare && node ./applitools.prompts.js && npx @applitools/eyes-storybook --conf applitools.config.local.js",
235235
"local:vrt:mobile": "npm run storybook:prepare && node ./applitools.prompts.js -t mobile && STORYBOOK_STORIES_TYPE='mobile' npx @applitools/eyes-storybook --conf applitools.mobile.config.local.js",
236-
"local:vrt:legacy": "npm run storybook:prepare && node ./applitools.prompts.js -t legacy && npx @applitools/eyes-storybook --conf applitools.legacy.config.local.js",
236+
"local:vrt:legacy": "npm run storybook:prepare && node ./applitools.prompts.js -t legacy && STORYBOOK_SLDS_VERSION=legacy npx @applitools/eyes-storybook --conf applitools.legacy.config.local.js",
237237
"release:site": "./release.sh",
238238
"release:site:validate": "SLDS_VALIDATION_URL=https://design-system-site-stage.herokuapp.com npx ava __tests__/site/site-validation.ava.js",
239239
"slds:customizer": "node tools/customizer.cli.js"

0 commit comments

Comments
 (0)