Skip to content

Commit 6850437

Browse files
committed
chore: make storybook script more flexible
1 parent acc09f3 commit 6850437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test:watch": "jest --watchAll",
1616
"test:coverage": "jest --coverage && ./cc-test-reporter after-build --id=\"d957b5ff2f78e200b7cfa4e294ac1fe52c823c7d7c327628f897271dc72a874e\"",
1717
"deploy": "npm run build:demo && gh-pages -d build",
18-
"storybook": "cross-env TARGET=development start-storybook -p 3001 -h 0.0.0.0",
18+
"storybook": "cross-env TARGET=development start-storybook -p ${PORT:-3001} -h 0.0.0.0",
1919
"build-storybook": "cross-env NODE_ENV=production TARGET=demo build-storybook -o build/storybook"
2020
},
2121
"main": "dist/main.js",

0 commit comments

Comments
 (0)