index.js
function isLifeCycleScript (prefix, name, scripts) {
  const re = new RegExp("^" + prefix)
  const root = name.slice(prefix.length)
  return Boolean(name.match(re) && (scripts[root] || BUILTINS.includes(root)))
}
function isLifeCycleScript (prefix, name, scripts) {
  const re = new RegExp("^" + prefix)
  const root = name.slice(prefix.length)
  return Boolean(name.match(re) && (scripts[root] || BUILTINS.includes(root)))
}
function isLifeCycleScript ( prefix , name , scripts ) { const re = new RegExp ( "^" + prefix ) const root = name . slice ( prefix . length ) return Boolean ( name . match ( re ) && ( scripts [ root ] || BUILTINS . includes ( root ) ) ) }
pre, post or builtins
pre post or builtins