Metadata Editor Repository(@wbg-mde/repository)
This module handles the file system of Metadata Editor application. This module have all the general and remotely executed methods. Typescript is used to development and converted to Javascripit after compilation. This module manages the following functionalities:
- Project configuration
- Export DDI
- Import DDI
- Nedb management
- Core i18n methods
- Core template manager methods
- Application resource path management
- File system management
Installation
Install the dependencies and devDependencies.
npm install
Build the application
npm run build
Publish the application to npm
npm publish --access public
Workspace Structure
├──src/ * source files
| ├──configuration/ * project configuration management
| ├──csv-data/ * methods for read csv files
| ├──export-master/ * export project as ddi and packages
| ├──i18n/ * core methods for handling i18n resources
| ├──import-master/ * import a project from ddi and package
| ├──master-data/ * methods for handling project master data and templates
| ├──project-data/ * methods for handling project header and metadata
| ├──repository/ * file system management
| ├──resource-path/ * application repurces path management
|
├──spec/ * all the test file scripts
├──gruntfile.js * grunt build config
├──package.json * what npm uses to manage it's dependencies
Contributors
License
MIT