{"id":26914587,"url":"https://github.com/koloer-blus/pre-me-cli","last_synced_at":"2025-07-08T15:05:18.552Z","repository":{"id":44954651,"uuid":"332775590","full_name":"koloer-blus/pre-me-cli","owner":"koloer-blus","description":"A front-end scaffolding that supports Webpack / Vite+TypeScript/JavaScript+React","archived":false,"fork":false,"pushed_at":"2022-08-20T17:20:18.000Z","size":969,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T17:41:35.572Z","etag":null,"topics":["app","autocomplete","cli","custom","generator","hooks","javascript","npm-package","pre-me-cli","react","template","typescript","vite","webpack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pre-me-cli","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/koloer-blus.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":"2021-01-25T14:34:36.000Z","updated_at":"2023-12-01T07:47:20.000Z","dependencies_parsed_at":"2022-09-09T20:10:35.060Z","dependency_job_id":null,"html_url":"https://github.com/koloer-blus/pre-me-cli","commit_stats":null,"previous_names":["baiziyu-fe/pre-me-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/koloer-blus/pre-me-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koloer-blus%2Fpre-me-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koloer-blus%2Fpre-me-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koloer-blus%2Fpre-me-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koloer-blus%2Fpre-me-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koloer-blus","download_url":"https://codeload.github.com/koloer-blus/pre-me-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koloer-blus%2Fpre-me-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264292912,"owners_count":23586060,"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":["app","autocomplete","cli","custom","generator","hooks","javascript","npm-package","pre-me-cli","react","template","typescript","vite","webpack"],"created_at":"2025-04-01T17:28:51.191Z","updated_at":"2025-07-08T15:05:18.537Z","avatar_url":"https://github.com/koloer-blus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [pre-me-cli👌](https://github.com/baiziyu-fe/pre-me-cli)\r\n\r\n\u003e `#quick react project generator`\r\n\r\n![GitHub package.json version](https://img.shields.io/github/package-json/v/baiziyu-fe/pre-me-cli) ![npm](https://img.shields.io/npm/dw/pre-me-cli) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/baiziyu-fe/pre-me-cli) ![GitHub commit activity](https://img.shields.io/github/commit-activity/w/baiziyu-fe/pre-me-cli) ![GitHub last commit](https://img.shields.io/github/last-commit/baiziyu-fe/pre-me-cli) ![GitHub language count](https://img.shields.io/github/languages/count/baiziyu-fe/pre-me-cli) ![node-current](https://img.shields.io/node/v/react)\r\n\r\n\r\n\u003e A highly integrated `React` project generation scaffold, so that you don't have to worry about installing dependencies, and you don't have to repeatedly modify configuration files for custom configuration.\r\n\u003e Currently, `Webpack` and `Vite` are supported as project tools to start, and `Javascript` and `Typescript` are supported.\r\n\r\n#### 📎[中文｜Chinese](./README_zh.md)\r\n\r\n## Features 🎉\r\n\r\n### Really one step in place 👏\r\n\r\n1. Both `webpack` and `react` templates now support `sass`, `less`, `stylus`, which can be used directly after the installation is completed;\r\n3. Simplify the `webpack` template configuration, update it to `webpack5` and use the cache function to improve the secondary startup speed;\r\n4. Add `eslint` for code verification and code repair;\r\n5. Use `husky` to add `git commit` detection;\r\n6. Use `npm run commit` to implement canonical command submission;\r\n7. Use `npx` to always keep templates updated or install with `npm` to keep your favorite version in your local repository;\r\n8. Use `yarn` for package management to avoid version problems and dependency errors;\r\n\r\n### Highly self-modifying 😯\r\n\r\n1. Expose all configurable items to users to support more pluggable optimization and custom operations.\r\n2. Provide users with an easier-to-use project template.\r\n\r\n## use 🔧\r\n\r\n### method one:\r\n\r\n   - Install globally: `npm install pre-me-cli -g`\r\n   - Create a project template with the command:\r\n   Create project `pre-me-cli init [projectName]`\r\n     - `webpack-ts`: typescript project with webpack as a tool;\r\n     - `webpack-js`: javascript project with webpack as a tool;\r\n     - `vite-ts`: vite is a typescript project for tools;\r\n     - `vite-js`: a javascript project with vite as a tool;\r\n\r\n### Method 2 (to keep your templates always up to date)\r\n\r\n  - npx install: `npx pre-me-cli init [projectName]`\r\n\r\n     - webpack-ts\r\n     - webpack-js\r\n     - vite-ts\r\n     - vite-js\r\n\r\n### Startup project\r\n\r\n- Enter the project and install dependencies: `cd projectName` \u0026\u0026 `yarn`\r\n- Start the project: `yarn dev` or `npm run dev`\r\n\r\n---\r\n\r\n#### You are very welcome to provide some feasible suggestions and help, and look forward to your joining~","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoloer-blus%2Fpre-me-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoloer-blus%2Fpre-me-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoloer-blus%2Fpre-me-cli/lists"}