From 291090f413188541037e47a134294e8cc76a4214 Mon Sep 17 00:00:00 2001 From: Jyoti Ranjan Sharma Date: Sun, 9 Apr 2023 00:10:15 +0530 Subject: [PATCH] Fix build:backends-activated command build:backends-activated can now run the ```npm run build:backends``` command when running ```npm run build:backends-activated``` --- {{cookiecutter.project_shortname}}/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_shortname}}/package.json b/{{cookiecutter.project_shortname}}/package.json index 91cd80f..efe7b9a 100644 --- a/{{cookiecutter.project_shortname}}/package.json +++ b/{{cookiecutter.project_shortname}}/package.json @@ -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" },