1.0.1 โข Published 2 years ago
pre-me-cli v1.0.1
pre-me-cli๐
#quick react project generator
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. Currently,Webpack
andVite
are supported as project tools to start, andJavascript
andTypescript
are supported.
๐ไธญๆ๏ฝChinese
Features ๐
Really one step in place ๐
- Both
webpack
andreact
templates now supportsass
,less
,stylus
, which can be used directly after the installation is completed; - Simplify the
webpack
template configuration, update it towebpack5
and use the cache function to improve the secondary startup speed; - Add
eslint
for code verification and code repair; - Use
husky
to addgit commit
detection; - Use
npm run commit
to implement canonical command submission; - Use
npx
to always keep templates updated or install withnpm
to keep your favorite version in your local repository; - Use
yarn
for 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 dev
ornpm run dev
You are very welcome to provide some feasible suggestions and help, and look forward to your joining~
1.0.1
2 years ago
1.0.0
2 years ago
0.4.1
2 years ago
0.5.0
3 years ago
0.2.8
3 years ago
0.4.0
3 years ago
0.2.7
3 years ago
0.3.0
3 years ago
0.2.6
3 years ago
0.3.1
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.0
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.5
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago