Skip to content

Commit

Permalink
Add scripts for testing production build of docs
Browse files Browse the repository at this point in the history
Just as a convenience. I can revert this commit if these scripts aren't
desired.
  • Loading branch information
TyMick committed Oct 23, 2021
1 parent c86d65d commit 5343b0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -43,6 +43,7 @@
"prepublishOnly": "npm run build",
"release": "rollout",
"start": "yarn --cwd www develop",
"start-prod": "yarn build-docs && yarn --cwd www serve",
"tdd": "karma start",
"test": "npm run lint && npm run test-browser && npm run test-node",
"test-browser": "cross-env NODE_ENV=test karma start --single-run",
Expand Down
1 change: 1 addition & 0 deletions www/package.json
Expand Up @@ -19,6 +19,7 @@
"start": "yarn develop",
"develop": "gatsby develop",
"build": "gatsby build",
"serve": "gatsby serve",
"deploy": "gatsby build --prefix-paths && yarn push-docs",
"push-docs": "gh-pages -d public --branch master --repo \"https://github.com/react-bootstrap/react-bootstrap.github.io.git\"",
"sort": "import-sort 'src/pages/**/*.js'"
Expand Down

0 comments on commit 5343b0a

Please sign in to comment.