src/create-twilio-function/create-files.js
Function createPackageJSON
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createPackageJSON(pathName, name, projectType = 'javascript') {
const fullPath = path.join(pathName, 'package.json');
const scripts = {
test: 'echo "Error: no test specified" && exit 1',
start: 'twilio-run',