const jsPath = {
  nop: "../../wwwroot/",
  src: "src/scripts/"
}

const scripts = {
  es6Files: [
    // utils
    "src/scripts/utils/global.js",
    "src/scripts/utils/slick.js",
    "src/scripts/utils/currentWindow.js",
    "src/scripts/utils/iife.js",
    "src/scripts/utils/textToggle.js",
    "src/scripts/utils/classToggle.js",
    "src/scripts/utils/characterCounter.js",
    "src/scripts/utils/smoothScroll.js",
    "src/scripts/utils/handlebar.js",
    "src/scripts/utils/htmlTemplate.js",
    "src/scripts/utils/selectize.js",
    "src/scripts/utils/multiline.js",
    "src/scripts/utils/validate.js",
    "src/scripts/utils/url.js",

    // Components
    "src/scripts/components/*.js",

    // nopCommerce Custom Scripts
    `${jsPath.src}vendors/nop/global.js`,
    `${jsPath.src}vendors/nop/components/**.js`,

    // Initialize Custom scripts
    `${jsPath.src}vendors/nop/init/searchbox.js`,
    `${jsPath.src}vendors/nop/init/select.js`,
    `${jsPath.src}vendors/nop/init/slick.js`,
    `${jsPath.src}vendors/nop/init/showMoreFromApi.js`
  ],
  vendorFiles: [
    "node_modules/jquery/dist/jquery.js",
    "node_modules/bootstrap/dist/js/bootstrap.bundle.js",
    "node_modules/slick-carousel/slick/slick.js",
    "node_modules/datepicker-bootstrap/js/core.js",
    "node_modules/datepicker-bootstrap/js/datepicker.js",
    "node_modules/underscore/underscore.js",
    "node_modules/picturefill/dist/picturefill.js",
    "node_modules/datatables.net/js/jquery.dataTables.js",
    "node_modules/datatables.net-dt/js/dataTables.dataTables.js",
    "node_modules/datatables.net-responsive/js/dataTables.responsive.js",
    "node_modules/datatables.net-responsive-dt/js/dataTables.responsive.js",
    "node_modules/jquery-validation/dist/jquery.validate.js",
    "node_modules/jquery-zoom/jquery.zoom.js",
    "node_modules/handlebars/dist/handlebars.js",
    "node_modules/jquery-validation/dist/jquery.validate.js",
    "node_modules/selectize/dist/js/standalone/selectize.js",
    "node_modules/promise-polyfill/dist/polyfill.js",

    // Vendor files not found in NPM
    "src/scripts/vendors/jquery.ellipsis.js",
    "src/scripts/vendors/jquery.mCustomScrollbar.js",

    // nopCommerce Files
    // `${jsPath.nop}lib/jquery/jquery-3.3.1.min.js`,
    // `${jsPath.nop}lib/jquery-validate/jquery.validate-v1.17.0/jquery.validate.min.js`,
    `${jsPath.nop}lib/jquery-validate/jquery.validate.unobtrusive-v3.2.10/jquery.validate.unobtrusive.min.js`,
    `${jsPath.nop}lib/jquery-ui/jquery-ui-1.12.1.custom/jquery-ui.min.js`,
    `${jsPath.nop}lib/jquery-migrate/jquery-migrate-3.0.1.min.js`,
    `${jsPath.nop}js/public.common.js`,
    `${jsPath.nop}js/public.ajaxcart.js`,
    `${jsPath.nop}js/public.countryselect.js`
  ]
}

module.exports = scripts
