feat: add build script
This commit is contained in:
+3
-2
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user