From 41320c207f17c492911596066edda1903aa9bacd Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Thu, 15 Feb 2024 09:34:49 +0000 Subject: [PATCH] added missing command - following splashscreen example, added 'production' command to be ran in GitHub publish action --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index a8e136b..ceccfe4 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,8 @@ "build:staging": "webpack --config webpack.config.js --mode=development --env staging", "build": "webpack --config webpack.config.js --mode=development --env prod", "bundle": "webpack --config webpack.config.js --mode=production", + "copy": "cp package.json dist/ && cp README.md dist/ && cp -r license_output dist/", + "production": "npm run bundle && npm run copy", "test:unit": "NODE_ENV=test jest tests/App.test.js", "test:e2e": "playwright test tests/e2e.test.js" },