{"id":21470851,"url":"https://github.com/fujia-cli/frontend-practice-template","last_synced_at":"2025-03-17T06:45:04.377Z","repository":{"id":57682317,"uuid":"492728452","full_name":"fujia-cli/frontend-practice-template","owner":"fujia-cli","description":"talk is cheap, show me the code","archived":false,"fork":false,"pushed_at":"2022-09-03T11:44:00.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-08T08:17:41.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fujia-cli.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":"2022-05-16T07:31:42.000Z","updated_at":"2022-11-04T08:05:54.000Z","dependencies_parsed_at":"2022-09-10T14:40:22.922Z","dependency_job_id":null,"html_url":"https://github.com/fujia-cli/frontend-practice-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujia-cli%2Ffrontend-practice-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujia-cli%2Ffrontend-practice-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujia-cli%2Ffrontend-practice-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujia-cli%2Ffrontend-practice-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fujia-cli","download_url":"https://codeload.github.com/fujia-cli/frontend-practice-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243988956,"owners_count":20379649,"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":[],"created_at":"2024-11-23T09:29:31.223Z","updated_at":"2025-03-17T06:45:04.353Z","avatar_url":"https://github.com/fujia-cli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"\" target=\"_blank\"\u003e\n    \u003cimg alt=\"stage logo\" width=\"200\" src=\"https://github.com/fujia-blogs/articles/blob/main/stage-ci/assets/stage.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e@fujia/frontend-practice-template\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nTalk is cheap, Show me the code.\n\n\u003c/div\u003e\n\n## Getting started\n\nAt first, you can install the cli tools by following commands:\n\n```sh\nnpm i -g @fujia/cli-core\n\n# or using yarn\nyarn global add @fujia/cli-core\n```\n\nthen, to initial a project with the template via above cli tools:\n\n```sh\n# step1. create project folder\nmkdir [project name]; cd $_;\n\n# step2. initial project via the template\nstage init\n\n# step3. select \"custom\" option.\n\n# step4. input the template info.\n\n# if we want to add custom template, e.g.\n\n# ? Please select the template type: custom\n# ? there is no custom template, whether to create one now: Yes\n# ? please input template name: frontend-practice\n# ? please input the template corresponding package name: @fujia/frontend-practice-template\n# ? please input the template version: latest\n# ? please input template install command: yarn\n# ? please input template start command: npm run dev\n\n```\n\nof course, if you don't want to install @fujia/cli-core in global scope, it can initial a project quickly by following commands:\n\n```sh\n# step1. create project folder\nmkdir [project name]; cd $_;\n\n# step2. initial project via the template\nnpm init stage@latest\n\n# the other steps follow above.\n```\n\nThat's all, the project will install the dependencies and devDependencies, then running automatically.\n\n### Starting Development\n\n1. Start the app in the dev environment:\n\n```sh\nnpm run dev\n```\n\n## Maintainers\n\n- [fujia](https://github.com/fushenguang)\n\n## License\n\nMIT © [frontend-practice-template](https://github.com/fujia-cli/frontend-practice-template)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujia-cli%2Ffrontend-practice-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffujia-cli%2Ffrontend-practice-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujia-cli%2Ffrontend-practice-template/lists"}