UNPKG

@bundle-analyzer/core

Version:

Bundle Analyzer Node.js uploader.

22 lines (19 loc) 588 B
"use strict"; exports.__esModule = true; exports.detect = detect; exports.config = config; // http://devcenter.wercker.com/articles/steps/variables.html function detect() { return !!process.env.WERCKER_MAIN_PIPELINE_STARTED; } function config() { return { name: 'Wercker CI', service: 'wercker', build: process.env.WERCKER_MAIN_PIPELINE_STARTED, commit: process.env.WERCKER_GIT_COMMIT, build_url: process.env.WERCKER_BUILD_URL, branch: process.env.WERCKER_GIT_BRANCH, slug: `${process.env.WERCKER_GIT_OWNER}/${process.env.WERCKER_GIT_REPOSITORY}` }; }