Merge pull request #3404 from aloisklink/build/fix-yarn-prepare-script

build: run `build:prod` on `yarn prepare`
This commit is contained in:
Sidharth Vinod 2022-09-04 12:55:22 +05:30 committed by GitHub
commit 7721ee0f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
"test": "yarn lint && jest src/.*",
"test:watch": "jest --watch src",
"prepublishOnly": "yarn build && yarn test",
"prepare": "husky install",
"prepare": "concurrently \"husky install\" \"yarn build:prod\"",
"pre-commit": "lint-staged"
},
"repository": {
@ -132,4 +132,4 @@
"**/*.css",
"**/*.scss"
]
}
}