Skip to content

Commit

Permalink
Fix build:backends-activated command
Browse files Browse the repository at this point in the history
build:backends-activated can now run the ```npm run build:backends``` command when running ```npm run build:backends-activated```
  • Loading branch information
JyotiRSharma committed Apr 8, 2023
1 parent 23a0973 commit 291090f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_shortname}}/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run validate-init",
"build:js": "webpack --mode production",
"build:backends": "dash-generate-components ./src/lib/components {{ cookiecutter.project_shortname }} -p package-info.json --r-prefix '{{ cookiecutter.r_prefix }}' --jl-prefix '{{ cookiecutter.jl_prefix }}' --ignore \\.test\\.",
"build:backends-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",
"build:backends-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:backends)",
"build": "npm run build:js && npm run build:backends",
"build:activated": "npm run build:js && npm run build:backends-activated"
},
Expand Down

0 comments on commit 291090f

Please sign in to comment.