UNPKG

build4code

Version:

The repository supports the NPM build process based on UML models created and managed with the JSONEditor4Code. A JSON file defines the attributes and methods of a class and a JSON editor running in a browser allows the generation of Javascript code. In t

92 lines (91 loc) 2.29 kB
{ "data": { "classname": "DefaultClass", "superclassname": " ", "comment": "Comment for Class", "reposinfo": { "JSCC_type": "CLASS", "JSCC_version": "2", "UML_editor": "https://niebert.github.io/ClassEditorUML", "repository": "https://www.gitlab.com/user/reponame", "static": "no", "debugheader": "no", "require_classes": "yes", "author": "User Name", "email": "user on GitLab", "created": "", "modified": "", "configcode": "// the configuration code will be used to create some constants", "requirelist": [] }, "attributes": [ ], "methods": [ ] }, "settings": { "extension4code": ".js", "extension4json": "_uml.json", "localclasslist": [ { "name": "JSONEditor", "initvalue": "new JSONEditor()", "repo": "jsoneditor" } ], "remoteclasslist": [ { "name": "LoadFile4DOM", "initvalue": "new LoadFile4DOM()", "repo": "loadfile4dom" }, { "name": "LinkParam", "initvalue": "new LinkParam()", "repo": "linkparam" } ], "baseclasslist": [ { "name": "Array", "initvalue": "[]" }, { "name": "Boolean", "initvalue": "true" }, { "name": "Float", "initvalue": "0.0" }, { "name": "Function", "initvalue": "function my_fun() {}" }, { "name": "Document", "initvalue": "document" }, { "name": "Integer", "initvalue": "0" }, { "name": "String", "initvalue": "\"\"" }, { "name": "Hash", "initvalue": "{}" }, { "name": "Object", "initvalue": "null" }, { "name": "RegularExp", "initvalue": "/search/g" } ] } }