Skip to content

Commit cbb14f2

Browse files
davidguttmanclaude
andcommitted
feat: make budo scripts respect PORT environment variable
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e4820df commit cbb14f2

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
@@ -53,9 +53,9 @@
5353
"url": "https://github.com/davidguttman/react-pivot.git"
5454
},
5555
"scripts": {
56-
"example": "budo example/demo.jsx --live",
57-
"example-basic": "budo example/basic.jsx",
58-
"example-persist": "budo example/persist.js",
56+
"example": "budo example/demo.jsx --live --port ${PORT:-9966}",
57+
"example-basic": "budo example/basic.jsx --port ${PORT:-9966}",
58+
"example-persist": "budo example/persist.js --port ${PORT:-9966}",
5959
"dist": "npm run remove-dist && npm run build-standalone",
6060
"remove-dist": "rm dist/*.js",
6161
"build-standalone": "NODE_ENV=production browserify lib/umd.js | uglifyjs -mc > dist/react-pivot-standalone-${npm_package_version}.min.js"

0 commit comments

Comments
 (0)