{"id":23283599,"url":"https://github.com/eliranmal/vue-cli-template-dev-server","last_synced_at":"2026-04-17T08:03:36.626Z","repository":{"id":57395255,"uuid":"188206953","full_name":"eliranmal/vue-cli-template-dev-server","owner":"eliranmal","description":"development server for building vue-cli custom templates","archived":false,"fork":false,"pushed_at":"2019-06-17T13:29:43.000Z","size":14917,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T14:57:13.915Z","etag":null,"topics":["cli","dev-server","developer-experience","developer-tools","development","dx","server","tools","vue","vue-cli","vue-cli-template","vue-init","vue-init-template","vuejs","watcher"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/eliranmal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-23T09:50:33.000Z","updated_at":"2020-07-30T18:22:47.000Z","dependencies_parsed_at":"2022-09-02T17:09:04.692Z","dependency_job_id":null,"html_url":"https://github.com/eliranmal/vue-cli-template-dev-server","commit_stats":null,"previous_names":["eliranmal/vue-init-template-dev-server","eliranmal/vue-template-dev-server"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/eliranmal/vue-cli-template-dev-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranmal%2Fvue-cli-template-dev-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranmal%2Fvue-cli-template-dev-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranmal%2Fvue-cli-template-dev-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranmal%2Fvue-cli-template-dev-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliranmal","download_url":"https://codeload.github.com/eliranmal/vue-cli-template-dev-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranmal%2Fvue-cli-template-dev-server/sbom","scorecard":{"id":372985,"data":{"date":"2025-08-11","repo":{"name":"github.com/eliranmal/vue-cli-template-dev-server","commit":"546aa1d1384fd0dad62db7ca96d0ec8bf6373508"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: bin/server.sh:155","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T13:25:45.304Z","repository_id":57395255,"created_at":"2025-08-18T13:25:45.305Z","updated_at":"2025-08-18T13:25:45.305Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745597,"owners_count":24813509,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["cli","dev-server","developer-experience","developer-tools","development","dx","server","tools","vue","vue-cli","vue-cli-template","vue-init","vue-init-template","vuejs","watcher"],"created_at":"2024-12-20T01:30:28.630Z","updated_at":"2026-04-17T08:03:36.586Z","avatar_url":"https://github.com/eliranmal.png","language":"Shell","readme":"# vue-cli-template-dev-server\n\n*development server for building vue-cli custom templates*\n\n[![NPM][1]][2] [![mentioned in awesome-vue][6]][7]\n\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./resources/example-usage.gif\" /\u003e\n\u003c/p\u003e\n\n\n## overview\n\nthis package provides a simple, file-watching server to ease the development of [vue-cli custom templates][3].\n\nonce started, the server will listen to changes in the app template source files (under the `/template` directory).\nwhen a change is detected, it will re-compile the template to an output directory, allowing live inspection of the \ngenerated vue.js application.\n\nafter the output project is generated, if it's an NPM project, the server will collect its dependencies with `npm i`,\nand run `npm run dev` (you can customize which command will run instead of `dev`).\n\n\n## setup\n\n- install via NPM:\n  \n  ```sh\n  npm i vue-cli-template-dev-server -D\n  ```\n\n- add these bits:\n  \n  *package.json \u003csup\u003e\\*\u003c/sup\u003e*\n  \n  ```json5\n  {\n    \"scripts\": {\n      \"dev\": \"vue-cli-template-dev-server\"\n    },\n  }\n  ```\n  \n  *.gitignore*\n  \n  ```gitignore\n  out/\n  ```\n  \n\u003csup\u003e*\\* if you don't have a package.json file, run `npm init`.*\u003c/sup\u003e\n\n\n## usage\n\nsimply run the dev script:\n\n```sh\nnpm run dev\n```\n\nthe server script accepts two optional arguments. the first one is used for overriding the output directory path\n(defaults to `out`), and the second for the output project name (`awesome-vue-app`, if not provided).\n\nto use them, either directly run:\n\n```sh\nnpm run dev -- 'dist/dev-server-out' 'my-app'\n```\n\n\u0026hellip; or put them in the package scripts for good:\n\n```json5\n{\n  \"scripts\": {\n    \"dev\": \"vue-cli-template-dev-server 'dist/dev-server-out' 'my-app'\"\n  },\n}\n```\n\nyou can also change which NPM script will run on startup (`dev` by default), by passing the\n`TARGET_INIT_COMMAND` environment variable:\n\n```sh\nenv TARGET_INIT_COMMAND='serve' npm run dev -- 'dist/dev-server-out' 'my-app'\n```\n\n\n## CLI\n\nuse the `-h` flag to see the manual.\n\n\u003csup\u003e:ok_hand: ***tip:** to run from the terminal, navigate to the project root directory and run `$(npm bin)/vue-cli-template-dev-server -h`. when installed globally (not recommended), you can just run `vue-cli-template-dev-server -h` from anywhere.*\u003c/sup\u003e\n\n\n## demo\n\ncheck out the [*/example*][5] directory in this repository for an example usage with the most simple application.\nit only contains what's required for the dev-server to work.\n\nto see it in action:\n\n- get a local clone:\n  \n  ```sh\n  cd \u003cworkspace-path\u003e\n  #   ^ replace this with your local workspace directory\n  git clone https://github.com/eliranmal/vue-cli-template-dev-server.git\n  ```\n\n- navigate to the demo, and ignite the engines:\n  \n  ```sh\n  cd \u003cworkspace-path\u003e/vue-cli-template-dev-server/example\n  #   ^ you know the drill\n  npm start\n  ```\n\n  this will install dependencies, and run the example app's dev server.  \n  from now on, if you kill the server, you can run it again with:\n  \n  ```sh\n  npm run dev\n  ```\n\n- open *./template/hello.md* and *./out/hello.md* in your editor.\n\n- edit *./template/hello.md* and save your changes.\n\n- see *./out/hello.md* change accordingly.\n\n\n## kudos\n\nthis whole thing started after reading a discussion on [an issue on the vue-cli repository][4], regarding the lack of a *non-interactive* flag.  \nafter the issue was closed, people started posting some great ideas about how to work around it. i simply pieced the puzzle together.\n\nso thank you, @sobolevn, @paul-hammant, @shailendher, @Harti, @jukefr, @italomaia - who opened this issue in the first place - and everyone involved.\n\n:octocat: :pray: :purple_heart:\n\n\n\n\n[1]: https://img.shields.io/npm/v/vue-cli-template-dev-server.svg?style=flat-square\n[2]: https://www.npmjs.com/package/vue-cli-template-dev-server\n[3]: https://github.com/vuejs/vue-cli/tree/master#custom-templates\n[4]: https://github.com/vuejs/vue-cli/issues/291\n[5]: example\n[6]: https://awesome.re/mentioned-badge-flat.svg\n[7]: https://github.com/vuejs/awesome-vue\n","funding_links":[],"categories":["Components \u0026 Libraries","Dev Tools","Dev Tools [🔝](#readme)"],"sub_categories":["Dev Tools","Vue CLI 3 Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliranmal%2Fvue-cli-template-dev-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliranmal%2Fvue-cli-template-dev-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliranmal%2Fvue-cli-template-dev-server/lists"}