Skip to content

Commit

Permalink
Add npm checkout script
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbengtsson committed Dec 5, 2023
1 parent 4e0da8b commit 1329a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Contributions are always welcome, especially on open issues. If you have somethi

### Pull requests locally

- `PULL_REQUEST=472 && git fetch origin pull/$PULL_REQUEST/head:pr$PULL_REQUEST && git checkout pr$PULL_REQUEST`
- `PR=472 npm run checkout-pr`

### Release prerelease

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
},
"scripts": {
"start": "webpack serve --config webpack.config.mjs --mode=development",
"checkout-pr": "git fetch origin pull/$PR/head:pr$PR && git checkout pr$PR",
"start-external": "webpack serve --config webpack.config.mjs --mode=development --host 0.0.0.0",
"build": "webpack --mode=production && webpack --mode=production --env minified && npm run buildes && npm run types",
"buildes": "rollup --config rollup.config.mjs",
Expand Down

0 comments on commit 1329a73

Please sign in to comment.