{"id":18084518,"url":"https://github.com/endel/library-template.ts","last_synced_at":"2025-04-12T20:08:34.272Z","repository":{"id":57147763,"uuid":"61405716","full_name":"endel/library-template.ts","owner":"endel","description":"Template for authoring TypeScript modules/libraries. Uses Webpack + Karma + Mocha for testing.","archived":false,"fork":false,"pushed_at":"2017-03-15T21:28:02.000Z","size":40,"stargazers_count":38,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T13:38:55.653Z","etag":null,"topics":["typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://medium.com/@endel/authoring-typescript-javascript-libraries-e9ac8a9d1add","language":"JavaScript","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/endel.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":"2016-06-17T22:26:26.000Z","updated_at":"2025-03-21T17:04:00.000Z","dependencies_parsed_at":"2022-08-28T23:23:20.608Z","dependency_job_id":null,"html_url":"https://github.com/endel/library-template.ts","commit_stats":null,"previous_names":["endel/library.ts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Flibrary-template.ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Flibrary-template.ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Flibrary-template.ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Flibrary-template.ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endel","download_url":"https://codeload.github.com/endel/library-template.ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543849,"owners_count":21121838,"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":["typescript","typescript-library"],"created_at":"2024-10-31T15:07:03.304Z","updated_at":"2025-04-12T20:08:34.232Z","avatar_url":"https://github.com/endel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"TypeScript Library Template\n===\n\nTemplate for authoring TypeScript modules for the browser. This template\nincludes:\n\n- TypeScript as authoring language\n- Mocha as testing framework\n- Karma for browser testing\n- Webpack for bundling your static library.\n\nUsage\n---\n\nClone and install the dependencies:\n\n```\ngit clone https://github.com/endel/library-template.ts.git\ncd library-template.ts\nnpm install\n```\n\nStart [karma](https://github.com/karma-runner/karma) test-runner and watch for\nchanges.\n\n```\nnpm start\n```\n\nRun `mocha` in node environment.\n\n```\nnpm test\n```\n\nGenerate distribution files and typing definitions.\n\n```\nnpm prepublish\n```\n\nBundling your static library\n---\n\n```\nnpm run bundle\n```\n\nLicense\n---\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Flibrary-template.ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendel%2Flibrary-template.ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Flibrary-template.ts/lists"}