{"id":25414057,"url":"https://github.com/daiz/crank","last_synced_at":"2025-04-22T14:26:46.157Z","repository":{"id":8006550,"uuid":"9414444","full_name":"Daiz/crank","owner":"Daiz","description":"A Node.js-based build tool for Construct 2 addons.","archived":false,"fork":false,"pushed_at":"2013-04-18T20:50:52.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T14:48:25.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Daiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-13T14:05:00.000Z","updated_at":"2015-01-01T10:50:02.000Z","dependencies_parsed_at":"2022-09-10T19:51:53.042Z","dependency_job_id":null,"html_url":"https://github.com/Daiz/crank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fcrank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fcrank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fcrank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fcrank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daiz","download_url":"https://codeload.github.com/Daiz/crank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250257778,"owners_count":21400797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-16T14:35:23.726Z","updated_at":"2025-04-22T14:26:46.138Z","avatar_url":"https://github.com/Daiz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crank - The Construct 2 Addon Build Tool\n\nCrank is a command-line build tool written for [Node.js](http://nodejs.org/) with the goal of making addon development for Scirra's [Construct 2](http://scirra.com) nicer. The installation is simple *(however, it's not available just yet)*:\n\n```\nnpm install crank-c2 -g\n```\n\nAfter that, crank will be available globally with the following command-line interface:\n\n```\n  Usage: crank [options] [command]\n\n  Commands:\n\n    init [type]            Initialize an addon project. Possible types: plugin, behavior, effect\n    build                  Build the current project into a .c2addon file.\n    watch                  Watch files and update the addon in C2 on changes. Windows-only.\n    devmode                Toggle C2 developer mode on or off. Windows-only.\n\n  Options:\n\n    -h, --help  output usage information\n```\n\n## Commands\n\n### crank init [plugin/behavior/effect]\n\nInitialize a new project in the current folder with the given template.\n\n### crank build \n\nBuilds the current project into a distributable .c2addon file. The output filename will be yourpluginid.c2addon.\n\n### crank watch\n\nThis command will watch the project files for changes and automatically copy the changed files to `%AppData%\\Construct2\\`. No manual copying required to test your addon in Construct 2! Note that the developer mode (see below) needs to be turned on for runtime addons to be reloaded on every preview. Any changes to edittime properties will require restarting Construct 2.\n\n### crank devmode\n\nRunning this command will turn Construct 2 developer mode on or off, depending on the current state. No more manual registry tweaking!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fcrank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaiz%2Fcrank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fcrank/lists"}