Ionic 4 additional scripts

I am trying out ionic 4 for my next project. I had some custom scripts which I would run in ionic 3.

ionic 3 package.json:

"scripts": {
    "minify": "ionic-app-scripts minify",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"

the first 2 were loaded from a custom config file.

I am not able to figure out how to do this in ionic 4 as I only see these entries:

"scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"


Add your script in the scripts section of the package.json then run

npm run script-name


npm run minify

For the most part, these scripts have been moved to internal parts of the ng-cli.
So you really shouldn’t need to have all of these.

Like minify or clean, you don’t really need those anymore because it’s part of the ng-cli