{"id":17347643,"url":"https://github.com/cryptiklemur/screeps-ts","last_synced_at":"2025-03-27T11:20:42.104Z","repository":{"id":142597849,"uuid":"287377044","full_name":"cryptiklemur/screeps-ts","owner":"cryptiklemur","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-15T20:45:46.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T15:45:18.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptiklemur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-13T20:47:19.000Z","updated_at":"2020-09-24T22:19:16.000Z","dependencies_parsed_at":"2023-05-02T08:30:38.646Z","dependency_job_id":null,"html_url":"https://github.com/cryptiklemur/screeps-ts","commit_stats":null,"previous_names":["cryptiklemur/screeps-ts"],"tags_count":0,"template":false,"template_full_name":"screepers/screeps-typescript-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fscreeps-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fscreeps-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fscreeps-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fscreeps-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptiklemur","download_url":"https://codeload.github.com/cryptiklemur/screeps-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832747,"owners_count":20679702,"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":"2024-10-15T16:49:39.061Z","updated_at":"2025-03-27T11:20:42.077Z","avatar_url":"https://github.com/cryptiklemur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Screeps\n\n## Basic Usage\n\nYou will need:\n\n- [Node.JS](https://nodejs.org/en/download) (10.x)\n- A Package Manager ([Yarn](https://yarnpkg.com/en/docs/getting-started) or [npm](https://docs.npmjs.com/getting-started/installing-node))\n- Rollup CLI (Optional, install via `npm install -g rollup`)\n\nDownload the latest source [here](https://github.com/screepers/screeps-typescript-starter/archive/master.zip) and extract it to a folder.\n\nOpen the folder in your terminal and run your package manager to install the required packages and TypeScript declaration files:\n\n```bash\n# npm\nnpm install\n\n# yarn\nyarn\n```\n\nFire up your preferred editor with typescript installed and you are good to go!\n\n### Rollup and code upload\n\nThis project uses rollup to compile your typescript and upload it to a screeps server.\n\nMove or copy `screeps.sample.json` to `screeps.json` and edit it, changing the credentials and optionally adding or removing some of the destinations.\n\nRunning `rollup -c` will compile your code and do a \"dry run\", preparing the code for upload but not actually pushing it. Running `rollup -c --environment DEST:main` will compile your code, and then upload it to a screeps server using the `main` config from `screeps.json`.\n\nYou can use `-cw` instead of `-c` to automatically re-run when your source code changes - for example, `rollup -cw --environment DEST:main` will automatically upload your code to the `main` configuration every time your code is changed.\n\nFinally, there are also NPM scripts that serve as aliases for these commands in `package.json` for IDE integration. Running `npm run push-main` is equivalent to `rollup -c --environment DEST:main`, and `npm run watch-sim` is equivalent to `rollup -cw --dest sim`.\n\n#### Important! To upload code to a private server, you must have [screepsmod-auth](https://github.com/ScreepsMods/screepsmod-auth) installed and configured!\n\n## Typings\n\nThe type definitions for Screeps come from [typed-screeps](https://github.com/screepers/typed-screeps). If you find a problem or have a suggestion, please open an issue there.\n\n## Contributing\n\nIssues, Pull Requests, and contribution to the docs are welcome! See our [Contributing Guidelines](CONTRIBUTING.md) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Fscreeps-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptiklemur%2Fscreeps-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Fscreeps-ts/lists"}