{"size": 300, "ext": "js", "max_stars_repo_path": "template/scripts/build.js", "max_stars_repo_name": "xpepermint/vue-template", "max_stars_repo_stars_event_min_datetime": "2016-12-20T17:05:02.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-17T09:21:17.000Z", "max_issues_repo_path": "template/scripts/build.js", "max_issues_repo_name": "xpepermint/vue-clie-template", "max_issues_repo_issues_event_min_datetime": "2016-12-21T13:12:30.000Z", "max_issues_repo_issues_event_max_datetime": "2017-04-21T06:28:08.000Z", "max_forks_repo_path": "template/scripts/build.js", "max_forks_repo_name": "xpepermint/vue-clie-template", "max_forks_repo_forks_event_min_datetime": "2016-12-21T13:05:19.000Z", "max_forks_repo_forks_event_max_datetime": "2018-04-24T05:41:38.000Z"}
{"max_stars_count": 40, "max_issues_count": 3, "max_forks_count": 6, "avg_line_length": 27.2727272727, "max_line_length": 70, "alphanum_fraction": 0.71}
process.env.NODE_ENV = 'production';

const {VueBuilder} = require('vue-builder');
const {webpackServer, webpackClient} = require(`../config`);
const mode = process.argv[2];
const options = mode === 'server' ? webpackServer() : webpackClient();

new VueBuilder(options)
.build()
.catch(console.log);
