{"id":15527154,"url":"https://github.com/beenotung/setup-tsc","last_synced_at":"2026-05-09T15:16:34.578Z","repository":{"id":195444863,"uuid":"692812212","full_name":"beenotung/setup-tsc","owner":"beenotung","description":"CLI tool to setup TypeScript projects for npm and browser distribution","archived":false,"fork":false,"pushed_at":"2024-07-16T23:10:04.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T03:33:50.739Z","etag":null,"topics":["cli","configuration","http-server","http2","nginx","nodejs","npx","port-forwarding","server","websocket"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/setup-tsc","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beenotung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-17T16:52:18.000Z","updated_at":"2024-07-16T23:10:07.000Z","dependencies_parsed_at":"2023-09-18T02:46:04.666Z","dependency_job_id":"a4c712b9-9584-414c-a120-41571fafdf37","html_url":"https://github.com/beenotung/setup-tsc","commit_stats":null,"previous_names":["beenotung/ts-pkg","beenotung/setup-tsc"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fsetup-tsc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fsetup-tsc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fsetup-tsc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fsetup-tsc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beenotung","download_url":"https://codeload.github.com/beenotung/setup-tsc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100551,"owners_count":20723479,"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":["cli","configuration","http-server","http2","nginx","nodejs","npx","port-forwarding","server","websocket"],"created_at":"2024-10-02T11:04:45.925Z","updated_at":"2026-05-09T15:16:29.533Z","avatar_url":"https://github.com/beenotung.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-tsc\n\nCLI tool to setup TypeScript projects for npm and browser distribution.\n\n[![npm Package Version](https://img.shields.io/npm/v/setup-tsc)](https://www.npmjs.com/package/setup-tsc)\n\n## Cli Usage\n\n```\nUsage: setup-tsc [options]\n\nOptional Options:\n  --entryFile=\u003cpath\u003e          Specify the entry .ts file.\n                              If not specified, it's automatically inferred (see details below).\n  --name|--global|--globalName=\u003cstring\u003e\n                              Specify the global name for the browser .js file.\n                              If not specified, it's derived from the package name or directory name.\n  --outDir=\u003cpath\u003e             Specify the output directory for build output.\n                              Default is 'dist'.\n  -h, --help                  Display usage information.\n\nOptions Details:\n\n  --entryFile:\n    If this option is not specified, the entry file is inferred from a list of potential names.\n    Here, '\u003cpackageName\u003e' is either the package name or the current working directory's name.\n    Possible names include 'index.ts', '\u003cpackageName\u003e.ts', \u003cpackageName\u003e,\n    'src/index.ts', 'src/\u003cpackageName\u003e.ts', and 'src/\u003cpackageName\u003e'.\n    Note: If the package name ends with '.ts', '\u003cpackageName\u003e' is also a valid entry file name.\n\n  --globalName:\n    If the global name begins with '@', the name is derived from the part after the '/' in the package name,\n    and it is converted into camelCase.\n    For instance, '--globalName=@my-scope/my-package' results in a global name of 'myPackage'.\n\nExamples:\n  $ setup-tsc --entryFile=./src/core.ts --globalName=oklab\n  $ setup-tsc --outDir=./build\n  $ npx setup-tsc\n```\n\n## License\n\nThis project is licensed with [BSD-2-Clause](./LICENSE)\n\nThis is free, libre, and open-source software. It comes down to four essential freedoms [[ref]](https://seirdy.one/2021/01/27/whatsapp-and-the-domestication-of-users.html#fnref:2):\n\n- The freedom to run the program as you wish, for any purpose\n- The freedom to study how the program works, and change it so it does your computing as you wish\n- The freedom to redistribute copies so you can help others\n- The freedom to distribute copies of your modified versions to others\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeenotung%2Fsetup-tsc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeenotung%2Fsetup-tsc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeenotung%2Fsetup-tsc/lists"}