code: function prune (scripts) {
    return Object.keys(scripts).reduce((all, name) => {
      const s = scripts[name]
      if (!s.isPre && !s.isPost && !s.isExplicitSub) {
        all[name] = s
      }
      return all
    }, {})
  }
docs: 3rd pass - TODO configurable pruning