mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
Updated Build Source Code (markdown)
parent
e2799580c0
commit
3108543b59
@ -13,21 +13,6 @@ yarn code:build
|
||||
```
|
||||
It will generate a transpiled output on `./build/`, this step is needed it whether you want to run using `./bin/verdaccio`
|
||||
|
||||
## Build UI
|
||||
```js
|
||||
yarn build:webui
|
||||
```
|
||||
It will run webpack to build the UI, this step is required if you want to run the application, this generates output in `./static` that is needs to start the app.
|
||||
|
||||
### Run UI as hot reload mode
|
||||
|
||||
```js
|
||||
yarn dev:webui
|
||||
```
|
||||
It will run `webpack-dev-server` on port `4872` with *React + Hot Reload* enabled.
|
||||
|
||||
> It will require run `verdaccio` on port `4873` either with running `yarn dev:start` or `./bin/verdaccio/`.
|
||||
|
||||
## Run project
|
||||
```js
|
||||
yarn dev:start
|
||||
@ -64,8 +49,4 @@ pretest | A shortcut for transpile the code
|
||||
test:ci | run test generating coverage
|
||||
coverage:publish | publish on `codecov` the coverage (CI task-specific, do not use it)
|
||||
lint | run the linting for javascript code
|
||||
lint:css | run the linter for `css`
|
||||
dev:webui | run a `webpack` server with hot reloading enabled `http://localhost:4872/#/` it requires a `verdaccio` server running in port `4873`.
|
||||
pre:webpack | prepare the field for webpack (it a subtask of `build:webui`)
|
||||
build:webui | create the static assets for the UI with `webpack`
|
||||
build:docker | create a local docker image with `verdaccio`
|
Loading…
Reference in New Issue
Block a user