Ccmod.json: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<code>ccmod.json</code> is the | *WIP* | ||
<code>ccmod.json</code> is the new manifest file that replaces the soon-to-be deprecated <code>package.json</code> normally associated with a crosscode mods. | |||
<code>package.json</code> is normally associated with nodejs. For this reason, creating a new format was necessary to avoid conflicts from properties that both CCLoader and nodejs used. | |||
<syntaxhighlight lang="json" line="line"> | |||
{ | |||
"id": "my-mod", | |||
"version": "1.0.0", | |||
"title" : "My Mod", | |||
"description": "My first mod", | |||
"license": "MIT", | |||
"homepage": "", | |||
"keywords": [], | |||
"authors" : [], | |||
"icons": {}, | |||
"dependencies": {}, | |||
"assets": [], | |||
"assetsDir": "", | |||
"main": "", | |||
"preload": "", | |||
"postload": "", | |||
"prestart": "", | |||
"poststart": "" | |||
} | |||
</syntaxhighlight> |
Latest revision as of 20:32, 8 March 2021
- WIP*
ccmod.json
is the new manifest file that replaces the soon-to-be deprecated package.json
normally associated with a crosscode mods.
package.json
is normally associated with nodejs. For this reason, creating a new format was necessary to avoid conflicts from properties that both CCLoader and nodejs used.
{
"id": "my-mod",
"version": "1.0.0",
"title" : "My Mod",
"description": "My first mod",
"license": "MIT",
"homepage": "",
"keywords": [],
"authors" : [],
"icons": {},
"dependencies": {},
"assets": [],
"assetsDir": "",
"main": "",
"preload": "",
"postload": "",
"prestart": "",
"poststart": ""
}