{"id":20293219,"url":"https://github.com/mingderwang/test-parcel-preact-typescript","last_synced_at":"2026-07-04T10:31:23.004Z","repository":{"id":66841729,"uuid":"439561542","full_name":"mingderwang/test-parcel-preact-typescript","owner":"mingderwang","description":"test parcel-preact-typescript","archived":false,"fork":false,"pushed_at":"2021-12-18T08:08:31.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T05:16:11.772Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mingderwang.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":"2021-12-18T08:08:29.000Z","updated_at":"2021-12-21T21:40:28.000Z","dependencies_parsed_at":"2023-02-21T09:46:13.350Z","dependency_job_id":null,"html_url":"https://github.com/mingderwang/test-parcel-preact-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"metonym/parcel-preact-typescript","purl":"pkg:github/mingderwang/test-parcel-preact-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Ftest-parcel-preact-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Ftest-parcel-preact-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Ftest-parcel-preact-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Ftest-parcel-preact-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mingderwang","download_url":"https://codeload.github.com/mingderwang/test-parcel-preact-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Ftest-parcel-preact-typescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35118970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T15:22:51.841Z","updated_at":"2026-07-04T10:31:22.984Z","avatar_url":"https://github.com/mingderwang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parcel-preact-typescript\n\n\u003e Minimal template using [Parcel](https://parceljs.org/), [Preact](https://preactjs.com/), and [TypeScript](https://www.typescriptlang.org/).\n\nThis template provides the simplest possible set-up that combines Parcel, Preact, TypeScript, and Jest.\n\n## Getting Started\n\nInstall the project dependencies.\n\n```bash\nyarn install\n```\n\n## Available Scripts\n\n### `yarn start`\n\nRuns the app in development mode. Visit [http://localhost:1234](http://localhost:1234).\n\n### `yarn build`\n\nBuilds the project for production. The build directory is `dist`; types will be written to `dist/index.d.ts`. Customize the build directory in the `outDir` configuration option in the [tsconfig.json](tsconfig.json).\n\n### `yarn test`\n\nRun the tests using the [jest](https://jestjs.io/) JavaScript testing framework.\n\nThe jest configuration is specified in `package.json`.\n\n```json\n{\n  \"jest\": {\n    \"preset\": \"ts-jest\"\n  }\n}\n```\n\n## Customizing `tsconfig.json`\n\nThe default [`tsconfig.json`](tsconfig.json) contains the following:\n\n```js\n// tsconfig.json\n{\n  \"compilerOptions\": {\n    \"esModuleInterop\": true,\n    \"jsx\": \"react\",\n    \"jsxFactory\": \"h\",\n    \"lib\": [\"dom\", \"esnext\"],\n    \"module\": \"esnext\",\n    \"moduleResolution\": \"node\",\n    \"strict\": true,\n    \"target\": \"es5\"\n  },\n  \"include\": [\"src\"]\n}\n```\n\nNote that `jsxFactory` must be `\"h\"` in order for preact to work with parcel.\n\n### Decorators\n\nEnable decorators ([stage 2](https://github.com/tc39/proposal-decorators)) by setting `compilerOptions.experimentalDecorators` to `true`:\n\n```js\n{\n  \"compilerOptions\": {\n    \"experimentalDecorators\": true\n  }\n}\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Ftest-parcel-preact-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingderwang%2Ftest-parcel-preact-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Ftest-parcel-preact-typescript/lists"}