You're suggested to look up panto-best-practice.
panto-cli
is required to install, -g is suggested.
npm install panto-cli -g
Create a pantofile.js in the root of your project:
touch pantofile.js
It's like gruntfile.js somehow, define a function:
module.exports = panto => {
};
Now you can use panto API to define building process.