Skip to content

Commit

Permalink
Fix npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Jun 28, 2023
1 parent ededa76 commit 79cd1bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,7 @@ dmypy.json
/node_modules
/snapshot_results
/.nodeenv/

# These get coped from sphinx-theme-builder.
/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/styles
/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/scripts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"playwright": "^1.34.3"
},
"scripts": {
"build": ":",
"build": "mkdir src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/styles; cp src/qiskit_sphinx_theme/assets/styles/qiskit-sphinx-theme.css src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/styles/qiskit-sphinx-theme.css",
"start": "http-server example_docs/docs/_build/html",
"test-snapshots": "npm run _docker-build && npm run _docker-run",
"_docker-build": "docker build -t qiskit_sphinx_theme -f tests/js/Dockerfile .",
Expand Down

0 comments on commit 79cd1bf

Please sign in to comment.