Skip to content

Deploying

Some notes on pushing your code to repositories:

Deploy to a Public Repository

If you want to publish the package to a public repository like npmjs.org you have to remove the following property from package.json:

1
2
3
{
  "private": true
}

Push to GIT Repository

Before any commit, staged .ts, .vue, .js and .css files inside the src folder will be checked by the associated linter. If any of these checks fail (process exits with non-zero code), the commit will be aborted. So you have first to cleanup your code and your repository never receive ugly code.

If many files have to be fixed you can use the command npm run lint:fix to try to fix all the files at once automatically.