aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/package.json
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2022-05-07 00:25:37 -0400
committerNick Coutsos <[email protected]>2022-05-07 00:25:37 -0400
commit6d597a147a85b198f05455076ee53e42e8b6b12d (patch)
tree686c5bca2cb7041243ac08bb2816eb1aa8be6b1b /app/package.json
parent4f30b73d6686a74f1105f05bc203a09550b21cbe (diff)
downloadkeymap-editor-6d597a147a85b198f05455076ee53e42e8b6b12d.tar.gz
keymap-editor-6d597a147a85b198f05455076ee53e42e8b6b12d.zip
Use env-cmd for production build
Diffstat (limited to 'app/package.json')
-rw-r--r--app/package.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/package.json b/app/package.json
index 53b24bc..c3b43c3 100644
--- a/app/package.json
+++ b/app/package.json
@@ -20,6 +20,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
+ "build:production": "env-cmd -f .env.production npm run build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
@@ -40,5 +41,8 @@
"last 1 firefox version",
"last 1 safari version"
]
+ },
+ "devDependencies": {
+ "env-cmd": "^10.1.0"
}
}