{"size": 564, "ext": "js", "max_stars_repo_path": "scripts/start_node_debug.js", "max_stars_repo_name": "standard-software/Copipe.js", "max_stars_repo_stars_event_min_datetime": "2019-05-09T11:03:37.000Z", "max_stars_repo_stars_event_max_datetime": "2019-11-19T01:49:14.000Z", "max_issues_repo_path": "scripts/start_node_debug.js", "max_issues_repo_name": "standard-software/Copipe.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scripts/start_node_debug.js", "max_forks_repo_name": "standard-software/Copipe.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.5, "max_line_length": 98, "alphanum_fraction": 0.6985815603}
/**
 * copipe.js
 *  file: start_node_debug.js
 */

const { execSync } = require('child_process');
const { copyFileSync } = require('fs');
const { forceMkDirSync } = require('./copipe_node.js');

let result;

// run tsc
result = execSync('tsc -p ./tsconfig.node.json');
console.log(result);

// copy test code
forceMkDirSync('./debug/node/test/');
copyFileSync('./source/test/node/test_debug_copipe.js', './debug/node/test/test_debug_copipe.js');

// run test code

result = execSync('node ./debug/node/test/test_debug_copipe.js').toString();
console.log(result);
