feat: add build script

This commit is contained in:
Ayobami
2025-07-07 14:34:56 +01:00
parent fa9788a10f
commit 680a7c3268
+3 -2
View File
@@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"license": "MIT", "license": "MIT",
"engines":{ "engines": {
"node": "18.x" "node": "18.x"
}, },
"scripts": { "scripts": {
@@ -14,7 +14,8 @@
"prepare-husky": "husky install", "prepare-husky": "husky install",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"test": "npx cypress open", "test": "npx cypress open",
"commit": "git add . && git commit -m \"Update Host\" && git push" "commit": "git add . && git commit -m \"Update Host\" && git push",
"build": "webpack --config config/webpack.base.js --mode production"
}, },
"husky": { "husky": {
"hooks": { "hooks": {