Skip to content

Project settings

Lorenzo Pichilli edited this page Dec 29, 2017 · 3 revisions

The .je-project-settings folder inside your project will contain all your project settings, also about cordova, ionic, etc.

Default setting files of an empty project:

  • bookmarks.json: it will contain all your project bookmarks.
  • project_details: it will contain all your project details such as the project name, author, etc. The default value is:
{
  "project_name": "", 
  "author": "", 
  "author_uri": "", 
  "description": "", 
  "version": "", 
  "license": "", 
  "license_uri": "", 
  "tags": ""
}
  • project_settings: here you could define the node.js, npm, yarn, flow and flow-remove-types custom paths and other options for your project. The default value is:
{
  "node_js_custom_path": "",
  "npm_custom_path": "",
  "yarn_custom_path": "",
  "use_yarn": false,
  "build_flow": {
    "source_folders": [],
    "destination_folder": "",
    "options": [],
    "on_save": true
  },
  "flow_checker_enabled": true,
  "flow_cli_custom_path": "",
  "flow_remove_types_custom_path": "",
  "jsdoc": {
    "conf_file": ""
  }
}

All the paths could be absolute or relative to the path project (without considering the .je-project-settings folder!!!). If you want use Yarn, set "use_yarn": true. "conf_file" contains the path of the configuration file for jsdoc. "build_flow" will be used for building the application after clicking Tools > Build Flow. "source_folders" represents a list of files or directories that must be compiled. "destination_folder" represents the destination folder after the compilation. "options" is a list of parameters that will be added to the flow-remove-types command (more info here). "on_save": true means that when you save a javascript file in your project, it will compile the project automatically.