{"id":19763073,"url":"https://github.com/fdiskas/preact-ui","last_synced_at":"2026-06-15T07:34:25.697Z","repository":{"id":145457527,"uuid":"319789907","full_name":"FDiskas/preact-ui","owner":"FDiskas","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-02T22:25:23.000Z","size":1639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T10:17:01.365Z","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/FDiskas.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":"2020-12-08T23:45:31.000Z","updated_at":"2021-02-14T13:03:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"94183ff4-c6db-43a6-9e2c-fdf2530a57ab","html_url":"https://github.com/FDiskas/preact-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FDiskas/preact-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fpreact-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fpreact-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fpreact-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fpreact-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FDiskas","download_url":"https://codeload.github.com/FDiskas/preact-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDiskas%2Fpreact-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34353193,"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-06-15T02:00:07.085Z","response_time":63,"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-12T04:07:59.367Z","updated_at":"2026-06-15T07:34:25.691Z","avatar_url":"https://github.com/FDiskas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parcel-preact-typescript\n\n\u003e Simple set-up using [Parcel](https://parceljs.org/), [Preact X](https://preactjs.com/) and [TypeScript](https://www.typescriptlang.org/).\n\nThis template provides the simplest possible set-up that combines Parcel, Preact X and TypeScript. Jest is used for testing.\n\n## Getting started\n\nClone the repository and install its dependencies.\n\n```bash\ngit clone git@github.com:metonym/parcel-preact-typescript.git\ncd parcel-preact-typescript\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 for this project is in `package.json`:\n\n```js\n\"jest\": {\n  \"preset\": \"ts-jest\"\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%2Ffdiskas%2Fpreact-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdiskas%2Fpreact-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdiskas%2Fpreact-ui/lists"}