{"id":16180772,"url":"https://github.com/elmarti/simpledetect","last_synced_at":"2025-04-07T12:11:19.361Z","repository":{"id":96046001,"uuid":"113372214","full_name":"elmarti/simpledetect","owner":"elmarti","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-06T22:13:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T14:44:14.842Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elmarti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-06T22:07:30.000Z","updated_at":"2017-12-06T22:13:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"93f6f39b-a161-447d-9a29-c529a561a2f0","html_url":"https://github.com/elmarti/simpledetect","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"2735020e5f8f50fd1316f1a396f25ca76f66c1e5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmarti%2Fsimpledetect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmarti%2Fsimpledetect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmarti%2Fsimpledetect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmarti%2Fsimpledetect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elmarti","download_url":"https://codeload.github.com/elmarti/simpledetect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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-10T06:09:55.167Z","updated_at":"2025-04-07T12:11:19.330Z","avatar_url":"https://github.com/elmarti.png","language":"TypeScript","readme":"# Typescript Mocha Boilerplate\nThis is just a very basic and simple boilerplate to set up a typescript TDD environment with mocha. \n\nThe purpose is to have a quick running environment, for example to do some prototyping, learn TDD, Clean Coeds, Patterns or whatsoever with Typescript or actually start a real TypeScript Project.\n\nTo use it for your own projects, simply do this:\n```\ngit clone --depth=1 https://github.com/davelosert/typescript-mocha-boilerplate\n// Rename the folder to your projects name\nmv typescript-mocha-boilerplate \u003cname-of-your-project\u003e\ncd $_\n// Remove the link to this origin repository\ngit remote remove origin\n// Add your own origin again\ngit remote add origin https://github.com/path/to/your/target/repository\nnpm install\n```\n\n\n## Tools\nThe Tools included are:\n\n- [ts-node](https://github.com/TypeStrong/ts-node)\n- [typescript](https://github.com/Microsoft/TypeScript)\n- [mocha](https://mochajs.org/)\n- [chai](http://chaijs.com/)\n- [sinon](http://sinonjs.org/)\n- [sinon-chai](https://github.com/domenic/sinon-chai)\n\n## How to run\nSimply type `npm run test` and all tests will be run.\n\n## Configuration\nAll Mocha Configuration is handled via the [mocha.opts](./mocha.opts) File, this includes:\n- **Compiler-Options:** Tests are ran with *ts-node* directly to skip a compilation phase\n- **Test-Filter-Patterns:** All files ending with `spec.ts` will be included in tests\n- **Globals and Plugin registration**: plugins (e.g. sinon-chai) can be registered within the [mocha-globals.js](./test/mocha-globals.js) File\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmarti%2Fsimpledetect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felmarti%2Fsimpledetect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmarti%2Fsimpledetect/lists"}