Built-in scripts

Scripts

Here is a documented version of the built-in scripts:

{
	// Setup local development environtment
	"setup": "node setup",

	// Starts the local development server
	"serve": "vue-cli-service serve",

	// Automatically applies the linter fixes
	// It's strongly recommended to commit your changes before
	"lint": "vue-cli-service lint",
	
	// Build script for production
	"build": "VUE_APP_STAGE=production vue-cli-service build",
	// Build script for staging
	"build:staging": "VUE_APP_STAGE=staging vue-cli-service build --mode development",

	// Runs a npm security audit, will print all (nested) packages with vulnerabilities and links to each vulnerability
	"security:audit": "npm audit",

	// Runs npm in package upgrades
	"packages:upgrade": "npm upgrade --latest"
}