{"id":19693891,"url":"https://github.com/lemoncloud-io/lemon-typescript-template","last_synced_at":"2026-07-18T05:37:41.501Z","repository":{"id":98765121,"uuid":"185702116","full_name":"lemoncloud-io/lemon-typescript-template","owner":"lemoncloud-io","description":"In general, typescript template project with jest and lint.","archived":false,"fork":false,"pushed_at":"2020-07-21T12:40:46.000Z","size":354,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2026-07-18T05:37:37.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lemoncloud-io.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":"2019-05-09T01:10:07.000Z","updated_at":"2023-03-19T07:06:10.000Z","dependencies_parsed_at":"2023-03-16T01:44:14.355Z","dependency_job_id":null,"html_url":"https://github.com/lemoncloud-io/lemon-typescript-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lemoncloud-io/lemon-typescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncloud-io%2Flemon-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncloud-io%2Flemon-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncloud-io%2Flemon-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncloud-io%2Flemon-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemoncloud-io","download_url":"https://codeload.github.com/lemoncloud-io/lemon-typescript-template/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoncloud-io%2Flemon-typescript-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35606857,"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-18T02:00:07.223Z","response_time":61,"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-11T19:18:51.970Z","updated_at":"2026-07-18T05:37:41.488Z","avatar_url":"https://github.com/lemoncloud-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lemon-typescript-template [![Build Status](https://travis-ci.com/louis-lemon/lemon-typescript-template.svg?branch=develop)](https://travis-ci.com/louis-lemon/lemon-typescript-template) [![codecov](https://codecov.io/gh/louis-lemon/lemon-typescript-template/branch/develop/graph/badge.svg)](https://codecov.io/gh/louis-lemon/lemon-typescript-template)\n\n# Done\n- eslint\n- prettier\n- editorconfig\n- gitignore\n- nvmrc\n- testing(jest)\n- tsconfig\n- husky \u0026 lint-staged\n- travis-ci\n- codecov\n- typedoc\n- npm module(publish)\n\n# Prerequisite\n\n### nodemon\n\n```sh\n$ npm install -g nodemon\n```\n\n### nvm\n\n```sh\n$ nvm use\nFound '/Users/tak/workspace/lemoncloud/api/lemon-typescript-template/.nvmrc' with version \u003c8.10.0\u003e\nNow using node v8.10.0 (npm v5.6.0)\n```\n\n----\n\n# How to use\n\n### Installation\n\n```sh\n$ npm install\n```\n\n### Build for typescript\n\n```sh\n$ npm run build\n```\n\n### Development\n\n```sh\n$ npm start\n```\n\n### Test\n\n```sh\n$ npm test\n$ npm run dev:test # 개발할 때 사용, --watchAll 추가\n```\n\n### Lint\n\n```sh\n$ npm run lint\n```\n\n### Publish to npm(module)\n\n```sh\n$ npm login\nUsername:\n\n$ npm publish\n```\n\n### Documentation\n\n```sh\n$ npm run doc\n$ npm run doc:publish # gh-pages 만들기\n```\n\n---\n\n# Travis-CI 설정 [![Build Status](https://travis-ci.com/louis-lemon/lemon-typescript-template.svg?branch=develop)](https://travis-ci.com/louis-lemon/lemon-typescript-template)\n\n- [travis-ci](https://travis-ci.com)에서 github로 sign-up 및 계정 access 허용\n- .travis.yml 파일 추가\n- push or pull request 날려보기\n- 아래 이미지처럼 나와야함\n\n![travis-build](https://user-images.githubusercontent.com/46361622/57597834-ebe3f580-758b-11e9-9903-baaff55a8362.png)\n\n\n## 뱃지다는 법\n- traivs-ci repository의 이름 옆에 있는 뱃지 클릭\n- 브랜치 및 URL 형식 설정(여기서는 Markdown)\n\n![travis-badge](https://user-images.githubusercontent.com/46361622/57597832-eb4b5f00-758b-11e9-8313-39b3533ad91d.png)\n\n- 링크 복사 및 README.md에 추가\n\n\u003e 2019.05.13: lemoncloud-io에서 travis-ci 권한 얻을 수 없어서 fork 뜬 후에 louis repo에서 진행\n\n---\n\n# Codecov [![codecov](https://codecov.io/gh/louis-lemon/lemon-typescript-template/branch/develop/graph/badge.svg)](https://codecov.io/gh/louis-lemon/lemon-typescript-template)\n\n- jest와 [codecov](https://codecov.io)를 이용하여 테스트코드의 코드 커버리지를 리포트할 수 있다.\n- travis-ci처럼 codecov에 github로 로그인하여 repository와 sync한다.\n\n## Install codecov\n\n```\n$ npm install --save-dev codecov\n```\n\n## Report coverage\n\n```bash\n$ npm run test\n# 위 명령어 실행 후, coverage 폴더가 생성된다.\n$ ./node_modules/.bin/codecov --token=\".....\" # token은 codecov에서 확인가능하다.\n```\n\n## travis-ci와 연동\n\n- .travis.yml 파일에서 env 및 after_success 설정해준다.\n\n---\n\n# TODO\n- [ ] Setup serverless\n\n# Setup\n\n```sh\n$ nvm use\n$ npm init \n$ npm install --save body-parser cors dotenv express morgan serverless-http winston\n$ npm install --save-dev typescript ts-jest serverless nodemon jest husky concurrently\n$ npm install --save-dev @types/cors @types/dotenv @types/jest @types/morgan @types/winston\n\n# eslint, prettier\n$ npm install eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser --save-dev\n$ npm install prettier eslint-config-prettier --save-dev\n$ npm install @types/supertest --save-dev\n```\n\n# VSCode plugins\n\n- [Editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)\n- [eslint](https://github.com/Microsoft/vscode-eslint)\n- [prettier](https://github.com/prettier/prettier-vscode)\n\n# How to setup VSCode\n\n- eslint, prettier plugin 설치\n- vscode의 ```settings.json``` 오픈 후 아래 코드 추가\n```json\n    ...\n\n    \"eslint.validate\": [\n        \"javascript\",\n        \"javascriptreact\",\n        {\n            \"language\": \"typescript\",\n            \"autoFix\": true\n        },\n        {\n            \"language\": \"typescriptreact\",\n            \"autoFix\": true\n        }\n    ],\n    \"prettier.eslintIntegration\": true,\n    \"javascript.format.enable\": false,\n    \"eslint.autoFixOnSave\": true,\n    \"[javascript]\": {\n        \"editor.formatOnSave\": false,\n        \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n    },\n    \"[typescript]\": {\n        \"editor.formatOnSave\": false,\n        \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n    },\n    \"[javascriptreact]\": {\n        \"editor.formatOnSave\": false,\n        \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n    },\n    \"[typescriptreact]\": {\n        \"editor.formatOnSave\": false,\n        \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n    },\n\n    ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncloud-io%2Flemon-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncloud-io%2Flemon-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncloud-io%2Flemon-typescript-template/lists"}