import * as os from "os"
export default {
  config: {
    port: 3000,
    os: (function () {
      return os.platform()
    })(),
    editor: {
      mode: null, // [extension, preview]
      agent: null, // ["vscode", "os"] ("os" is the agent when running outside a coding editor
      version: null, // By default downloads the latest version
    },
    dirPath: "./.learn",
    configPath: "./learn.json",
    outputPath: "./.learn/dist",
    publicPath: "/preview",
    publicUrl: null,
    contact: "https://github.com/learnpack/learnpack/issues/new",
    language: "auto",
    autoPlay: true,
    projectType: "tutorial", // [tutorial, project]
    grading: "isolated", // [isolated, incremental]
    exercisesPath: "./", // path to the folder that contains the exercises
    webpackTemplate: null, // if you want webpack to use an HTML template
    disableGrading: false,
    disabledActions: [], // Possible: 'build', 'test' or 'reset'
    actions: [], // ⚠️ deprecated, leave empty )
    entries: {
      html: "index.html",
      vanillajs: "index.js",
      react: "app.jsx",
      node: "app.js",
      python3: "app.py",
      java: "app.java",
    },
    suggestions: {
      agent: null,
    },
    warnings: {
      agent: null,
    },
  },
  address: "http://localhost",
  currentExercise: null,
  exercises: [],
  bugsLink: null,
  videoSolutions: false,
  localhostOnly: false, // if true, the exercise should not run on gitpod or codespaces but show an error message encouraging the user to run locally
}
