Dependencies in package.json


The previous page: Configuration file - deploy.json

The package.json file - defines the structure of dependencies and the detailed composition of the system modules.

Specificity of connection using a script

  • if there is no slash in the object name - / => “project-management”- substitute in the default path the ION-APP group - i.e the path is - //
  • if there is a slash in the object name - it means it’s already set up with the group and just pick up the path to the git with the group and meta, for example “ION-METADATA/viewlib” - the path - //
  • if the version value begins with git+http:// или git+https:// - then this is the full path to the external repository - drop git+ and pull the git.
  • if the version value begins with http:// or https:// - then this is the full path to the archive - pull and unzip.
    Not realized, as dapp does not support working with archives.

Example of the package.json file

Field description

Field Name Description
"name" Name Project name.
"description" Description Project description.
"version" Version Number of a current version.
"homepage" Home page Link to the already built project on the docker.
"bugs" Bugs Specifies the link to the application project in GitLab, where issues about bugs are collected.
"repository" Repository Сonsists of “type” and “url” fields. Indicates the type of repository and a link to it.
"engines" Core Number of a core version.
"scripts" Scripts Script to build meta from different groups and different url.
"ionModulesDependencies" Dependencies of ion modules Specifies the modules and their versions used in the application. The project includes the following modules: “ionadmin” – administration module • “registry” – registry module • “report” – report module • “rest”: “- REST module • “dashboard” – dashboard module • “geomap” - geo module • “gantt-chart” – gantt chart module • “portal” – portal module
"ionMetaDependencies" Dependencies of ion metadata Additional applications to operate the system.
"dependencies" Dependencies Other project dependencies.

Licence   Contact us   English  

iondv metrics

Copyright (c) 2018 LLC “ION DV”.
All rights reserved.