1.0.1 โข Published 3 years ago
pre-me-cli v1.0.1
pre-me-cli๐
#quick react project generator
A highly integrated
Reactproject 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. Currently,WebpackandViteare supported as project tools to start, andJavascriptandTypescriptare supported.
๐ไธญๆ๏ฝChinese
Features ๐
Really one step in place ๐
- Both
webpackandreacttemplates now supportsass,less,stylus, which can be used directly after the installation is completed; - Simplify the
webpacktemplate configuration, update it towebpack5and use the cache function to improve the secondary startup speed; - Add
eslintfor code verification and code repair; - Use
huskyto addgit commitdetection; - Use
npm run committo implement canonical command submission; - Use
npxto always keep templates updated or install withnpmto keep your favorite version in your local repository; - Use
yarnfor package management to avoid version problems and dependency errors;
Highly self-modifying ๐ฏ
- Expose all configurable items to users to support more pluggable optimization and custom operations.
- Provide users with an easier-to-use project template.
use ๐ง
method one:
- Install globally:
npm install pre-me-cli -g - Create a project template with the command:
Create project
pre-me-cli init [projectName]webpack-ts: typescript project with webpack as a tool;webpack-js: javascript project with webpack as a tool;vite-ts: vite is a typescript project for tools;vite-js: a javascript project with vite as a tool;
Method 2 (to keep your templates always up to date)
npx install:
npx pre-me-cli init [projectName]- webpack-ts
- webpack-js
- vite-ts
- vite-js
Startup project
- Enter the project and install dependencies:
cd projectName&&yarn - Start the project:
yarn devornpm run dev
You are very welcome to provide some feasible suggestions and help, and look forward to your joining~
1.0.1
3 years ago
1.0.0
3 years ago
0.4.1
4 years ago
0.5.0
4 years ago
0.2.8
5 years ago
0.4.0
5 years ago
0.2.7
5 years ago
0.3.0
5 years ago
0.2.6
5 years ago
0.3.1
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.0
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.5
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago