{"id":21553112,"url":"https://github.com/timeraa/ts-devscript","last_synced_at":"2025-08-01T02:05:31.196Z","repository":{"id":40928177,"uuid":"218400022","full_name":"Timeraa/TS-DevScript","owner":"Timeraa","description":"Simple devScript i created to work with TypeScript projects.","archived":false,"fork":false,"pushed_at":"2025-03-04T18:29:25.000Z","size":1686,"stargazers_count":10,"open_issues_count":13,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-20T09:16:56.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Timeraa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"patreon":"Timeraa","ko_fi":"Timeraa"}},"created_at":"2019-10-29T23:06:30.000Z","updated_at":"2024-08-31T03:45:06.000Z","dependencies_parsed_at":"2023-07-15T12:24:18.490Z","dependency_job_id":"6b6c6bb9-5fa5-4742-9659-b0ba97e87177","html_url":"https://github.com/Timeraa/TS-DevScript","commit_stats":{"total_commits":67,"total_committers":9,"mean_commits":7.444444444444445,"dds":0.6119402985074627,"last_synced_commit":"fcdb498fa7cbbc6974f6370e150fdabec67b5562"},"previous_names":["timeraa/devscript"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timeraa%2FTS-DevScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timeraa%2FTS-DevScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timeraa%2FTS-DevScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timeraa%2FTS-DevScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Timeraa","download_url":"https://codeload.github.com/Timeraa/TS-DevScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248182010,"owners_count":21060891,"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-11-24T07:09:33.208Z","updated_at":"2025-04-10T07:50:16.184Z","avatar_url":"https://github.com/Timeraa.png","language":"TypeScript","funding_links":["https://patreon.com/Timeraa","https://ko-fi.com/Timeraa"],"categories":[],"sub_categories":[],"readme":"# DevScript\nSimple development script to make working with **TypeScript** projects easy.\n\u003cbr\u003e\n![DevScript](.github/devscript.png)\n\n## Why\n\nI wrote this script to simplify my TypeScript workflow as I like to have all my files organised and hate having multiple terminals open at the same time.\u003cbr\u003e\nThis script copies and compiles everything in `src` to `out` and then runs the file.\u003cbr\u003e\nIt also automatically restarts the file on file additions, changes and deletions.\u003cbr\u003e\n\n## Installation\n\n```bash\n# global\nnpm i --location=global ts-devscript\n\n# npm\nnpm i -D ts-devscript\n\n# yarn\nyarn add -D ts-devscript\n```\n\n## Usage\n\n```bash\n# if global\ndevScript\n\n# if local\nnpx devScript\n```\n\n## Configuration\n\n### Possile Arugments\n**Note:** These arguments can also be used in your `package.json` file, simply add the `devScript` property to the root of the `package.json` and use them as key-value pairs.\n\n| Options                | Type      | Description                                                                                      | Default         |\n| ---------------------- | --------- | ------------------------------------------------------------------------------------------------ | --------------- |\n| --help                 |           | Shows the help command of devScript.                                                             |                 |\n| --src                  | `string`  | Directory containing the source code.                                                            | `src`           |\n| --out                  | `string`  | Directory that will contain the output.                                                          | `dist`          |\n| --deleteObsolete       | `boolean` | Whether or not to delete files from out that are not in the src.                                 | `true`          |\n| --tsconfig             | `string`  | Path to a valid `tsconfig.json` file.                                                            | `tsconfig.json` |\n| --entry                | `string`  | Entry file to be executed after compilation.                                                     | `index.js`      |\n| --depCheck             | `boolean` | Whether or not to check the dependencies.                                                        | `true`          |\n| --excludeDeps          | `string`  | Dependencies to exclude from automatically uninstalling. (String list seperated by commas)       |                 |\n| --autoInstallDep       | `boolean` | Automatically installs missing dependencies. (Needs depCheck enabled)                            | `true`          |\n| --autoRemoveDep        | `boolean` | Automatically removes unused dependencies. (Needs depCheck enabled)                              | `true`          |\n| --autoInstallTypes     | `boolean` | Automatically installs missing dependencies @types/. (Needs depCheck and autoInstallDep enabled) | `true`          |\n| --autoRemoveTypes      | `boolean` | Automatically removes unused dependencies @types/. (Needs depCheck and autoRemoveDep enabled)    | `true`          |\n| --autoUpdateOutdated   | `boolean` | Automatically update outdated dependencies to their latest version. (Needs depCheck enabled)     | `false`         |\n| --autoUpdateDeprecated | `boolean` | Automatically update deprecated dependencies to their latest version. (Needs depCheck enabled)   | `false`         |\n| --updateSelector       | `boolean` | Whether or not to show the update selector for deprecated or outdated dependencies. (Needs depCheck enabled) | `true`          |\n| --todoCheck            | `boolean` | Whether or not to check for TODO's.                                                              |                 |\n| --todoTags             | `string`  | Custom tags to include in the TODO check. (String list seperated by commas)                      |                 |\n| --copyOnly             | `boolean` | Whether or not only to copy the files from src to out.                                           | `false`         |\n| --ignore               | `string`  | Files that should be ignored when watching files. (glob pattern)                                 |                 |\n| --include              | `string`  | Files that should be included when watching files. (glob pattern)                                |                 |\n| --silent               | `boolean` | Whether or not to print console logs.                                                            | `false`         |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeraa%2Fts-devscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeraa%2Fts-devscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeraa%2Fts-devscript/lists"}