Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npi.json #10

Open
PROPHESSOR opened this issue Jun 16, 2018 · 1 comment
Open

npi.json #10

PROPHESSOR opened this issue Jun 16, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@PROPHESSOR
Copy link
Contributor

PROPHESSOR commented Jun 16, 2018

Предлагаю следующую структуру файла npi.json:

{
    "name": "Используется для поиска. Должно быть уникальным",
    "version": "1.1.1" //Версия в SemVer. Так же, можно хранить в виде массива [1, 1, 1], но первый вариант предпочтительней
    "author": "Тут, думаю, всё понятно",
    "help": { // Секция помощи
        "description": "Короткое описание программы",
        "usage": "start program -o /path/to/file" // Описание команды запуска
    },
    "libraries": [ // Список используемых библиотек (для проверки совместимости)
        "jsmb-pseudo",
        "jsmb",
        "pcspeaker"
    ],
    "dependentions": {} // Тут как в package.json - определение внешних require зависимостей
}
@PROPHESSOR PROPHESSOR added the enhancement New feature or request label Jun 16, 2018
@purplesyringa
Copy link
Member

Согласен. Сам не берусь реализовывать, занят.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants