-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend scripts and docs updates #679
Conversation
* rename and combine npm scripts * move to checkout@v2 in actions * change dev docs * move liststaged config to package.json because it easier to understand what husky doing
@@ -51,7 +51,7 @@ ARG NODE_ENV=production | |||
COPY --from=build-frontend-deps /srv/frontend/node_modules /srv/frontend/node_modules | |||
ADD frontend /srv/frontend | |||
RUN cd /srv/frontend && \ | |||
if [ -z "$SKIP_FRONTEND_TEST" ] ; then npx run-p check lint lint:style test build ; \ | |||
if [ -z "$SKIP_FRONTEND_TEST" ] ; then npx run-p lint test check; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm run check
builds bundle underhood for checking size
@@ -587,6 +587,10 @@ It stars backend service with embedded bolt store on port `8080` with basic auth | |||
|
|||
### Frontend development | |||
|
|||
#### Developer guide | |||
|
|||
Frontend guide can be found here: [./frontend/Readme.md](./frontend/Readme.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved it above because it is good to read first "how" instead of "what" you should do
@Mavrin as we discussed offline I moved configs to separate files and add instant commands |
Good to rebase and merge after merging of #671