{"id":13566779,"url":"https://github.com/adhrinae/ts-react-parcel","last_synced_at":"2025-04-04T00:32:14.009Z","repository":{"id":27447114,"uuid":"113955984","full_name":"adhrinae/ts-react-parcel","owner":"adhrinae","description":"Typescript with React, using parcel bundler","archived":false,"fork":false,"pushed_at":"2023-01-03T19:57:49.000Z","size":1326,"stargazers_count":294,"open_issues_count":3,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-01T15:14:38.956Z","etag":null,"topics":["parcel-bundler","react","ts-jest","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adhrinae.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}},"created_at":"2017-12-12T07:08:20.000Z","updated_at":"2025-02-20T19:58:59.000Z","dependencies_parsed_at":"2022-08-07T12:16:46.269Z","dependency_job_id":null,"html_url":"https://github.com/adhrinae/ts-react-parcel","commit_stats":null,"previous_names":[],"tags_count":7,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhrinae%2Fts-react-parcel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhrinae%2Fts-react-parcel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhrinae%2Fts-react-parcel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhrinae%2Fts-react-parcel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhrinae","download_url":"https://codeload.github.com/adhrinae/ts-react-parcel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103290,"owners_count":20884023,"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":["parcel-bundler","react","ts-jest","typescript"],"created_at":"2024-08-01T13:02:16.667Z","updated_at":"2025-04-04T00:32:13.654Z","avatar_url":"https://github.com/adhrinae.png","language":"TypeScript","readme":"# Typescript + React + Parcel = ❤️\n\nThis repository has basic settings for buildling react application in Typescript.\n\nThe original source code of the provided example is in [here](https://kentcdodds.com/blog/compound-components-with-react-hooks).\n\n## Built in settings\n\n- React + ReactDOM (16.8+)\n- Typescript (with TSLint setting)\n- Prettier + tslint-config-prettier\n- Test configuration using Jest and [react-testing-library](https://github.com/kentcdodds/react-testing-library)\n- Parcel bundler (1.12+)\n\n## How to set up the project\n\n**Disclaimer**  \nSince I only use Yarn as my primary package manager, this repository will ignore `package-lock.json` file on commit.  \nIf you prefer npm to Yarn, Please modify `.gitignore` file following your flavor.\n\n```\ngit clone git@github.com:adhrinae/ts-react-parcel.git\ncd ts-react-parcel\nyarn install\n```\n\n## How to start development for the application\n\n    # With type checking\n    yarn develop\n\n    # Transpile only\n    yarn start\n\nExecute the command and you can run \u0026 test the application on `localhost:1234` in the browser.\n\n## How to build the application\n\n    yarn build\n\nThe default output directory is `/dist`. You can change the destination wherever you want.\n\n```\n// package.json\n// ...\n\"scripts\": {\n  // ...\n  \"build\": \"... parcel build ./src/index.html -d YOUR_OUTPUT_DIR --public-url '/'\" \u003c- Change here\n}\n// ...\n```\n\n## How to test the application\n\n    yarn test       # run test once\n    yarn test:watch # watch mode\n\nYou have to create `__tests__` directory at the same location of files which you want to test.\nTest file's name should be `SOURCE.test.ts/tsx/js` or `SOURCE.spec.ts/tsx/js`.\n\n## Miscellaneous\n\nThis Project uses pre-commit hook for `prettier` and testing application.  \nIf you don't like it, remove the `husky` package from your repository and erase following scripts.\n\n    yarn remove husky\n\nthen\n\n```\n// package.json\n// ...\n\"husky\": {\n  \"hooks\": {\n    \"pre-commit\": \"npm run prettify \u0026\u0026 npm run test\"\n  }\n},\n// ...\n```\n","funding_links":[],"categories":["TypeScript","Examples"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhrinae%2Fts-react-parcel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhrinae%2Fts-react-parcel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhrinae%2Fts-react-parcel/lists"}