{"id":19640302,"url":"https://github.com/rencire/typescript-babel-jest-starter","last_synced_at":"2026-05-05T14:31:52.848Z","repository":{"id":142264130,"uuid":"142942789","full_name":"rencire/typescript-babel-jest-starter","owner":"rencire","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-31T00:51:39.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-21T14:37:58.693Z","etag":null,"topics":["babel","babel7","browserslist","husky","jest","lint-staged","tslint","typescript","typescript3"],"latest_commit_sha":null,"homepage":null,"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/rencire.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":"2018-07-31T00:42:00.000Z","updated_at":"2022-03-28T03:28:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"342230e5-87fa-4810-9d62-cf36e168e7f3","html_url":"https://github.com/rencire/typescript-babel-jest-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rencire/typescript-babel-jest-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Ftypescript-babel-jest-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Ftypescript-babel-jest-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Ftypescript-babel-jest-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Ftypescript-babel-jest-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rencire","download_url":"https://codeload.github.com/rencire/typescript-babel-jest-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rencire%2Ftypescript-babel-jest-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["babel","babel7","browserslist","husky","jest","lint-staged","tslint","typescript","typescript3"],"created_at":"2024-11-11T14:05:19.512Z","updated_at":"2026-05-05T14:31:52.819Z","avatar_url":"https://github.com/rencire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typescript-Babel-Jest\n\nSimple, barebones starter Typescript project with Jest setup.  \nTypescript compiler only used for code editing. Babel is solely responsible for transpilation.\n\nTo use:\n```\ngit clone git@github.com:rencire/ts-babel-jest.git \u003cyour_project_name\u003e\n```\n\n## Manually install dependencies\n\n### Typescript\n\n- Initializes `tsconfig.json` with default options. Change as needed.\n\n```\nnpm i -D typescript@3.0.1\nnpx tsc --init\n```\n\n### Babel\n\n```\nnpm i -D @babel/cli@7.0.0-beta.55\nnpm i -D @babel/core@7.0.0-beta.55\nnpm i -D @babel/preset-env@7.0.0-beta.55\nnpm i -D @babel/preset-typescript@7.0.0-beta.55\n```\n\n### Jest\n\n- Need `babel-core@bridge` so that jest can use the new `@babel/core` package.\n- Change options in `jest.config.js` as needed.\n\n```\nnpm i -D @types/jest@23.3.1\nnpm i -D jest@23.4.2\nnpm i -D babel-core@7.0.0-bridge.0\nnpx jest --init\n```\n\n### tslint\n\n```\nnpm i -D tslint@5.11.0\nnpx tslint --init\n```\n\n### prettier\n\n- install `tslint-config-prettier` to disable conflicting rules between prettier and tslint.\n  `prettier` takes care of formatting, while `tslint` takes care of all the rest.\n- Add `\"tslint-config-prettier\"` to `tslint.json`.\n\n```\nnpm i -D prettier@1.14.0\nnpm i -D tslint-config-prettier@1.14.0\n```\n\n### husky\n\n```\nnpm i -D husky@1.0.0-rc.13\n```\n\n### lint-staged\n\n```\nnpm i -D lint-staged@7.2.0\n```\n\n### Targeting browsers\n\nQueries in `.browserslistrc` dictate which browsers babel should target when transpiling.\n\nSee [browserslist](https://github.com/browserslist/browserslist) for more details.\n\n# Resources\n\n- https://github.com/Microsoft/TypeScript\n- https://github.com/palantir/tslint\n- https://github.com/prettier/prettier\n- https://github.com/alexjoverm/tslint-config-prettier\n- https://github.com/typicode/husky\n- https://github.com/okonet/lint-staged\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frencire%2Ftypescript-babel-jest-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frencire%2Ftypescript-babel-jest-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frencire%2Ftypescript-babel-jest-starter/lists"}