mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
Updated Build Source Code (markdown)
parent
01cdedf9cf
commit
0b8dc098ba
@ -64,28 +64,3 @@ dev:webui | run a `webpack` server with hot reloading enabled `http://localhost:
|
||||
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`
|
||||
|
||||
# Branch (2.x) Maintenance Mode
|
||||
|
||||
On branch `2.x` the unique part we have to build is the UI which is based on React.js, webpack and CSS Modules.
|
||||
|
||||
#### Scripts
|
||||
|
||||
script | Description
|
||||
--- | --- |
|
||||
release | this script is used to generate changelog and raise up the version according the commits messages
|
||||
prepublish | it ensures before publish the new ui is being generated
|
||||
test | run all the tests
|
||||
pre:ci | specific task for CI, build the UI required for test
|
||||
test:ci | run test generating coverage
|
||||
test:only | run only test
|
||||
test:coverage | run `nyc` as a wrapper to generate coverage with mocha test
|
||||
coverage:html | run `nyc` to generate coverage reports
|
||||
coverage:publish | publish on `codecov` the coverage (don't 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 on port `4873`.
|
||||
pre:webpack | prepare the field for webpack (it a substask of `build:webui`)
|
||||
build:webui | create the static assets for the UI with `webpack`
|
||||
build:docker | create a local docker image with `verdaccio`
|
||||
build:rpi | create a local docker for raspberry pi image with `verdaccio` **(experimental with no support)**
|
||||
|
Loading…
Reference in New Issue
Block a user