fe-cli-starter 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/package.json +9 -1
package/README.md
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# fe-cli-starter
|
|
2
2
|
|
|
3
|
+
  
|
|
4
|
+
|
|
5
|
+
📦 npm:https://www.npmjs.com/package/fe-cli-starter
|
|
6
|
+
💻 GitHub:https://github.com/wmh1106/fe-cli-starter
|
|
7
|
+
|
|
3
8
|
一套开箱即用的前端工程化 CLI 脚手架,帮助中小团队解决**新项目初始化繁琐、代码规范不统一、存量代码整改费时**的问题。
|
|
4
9
|
|
|
10
|
+
## 效果演示
|
|
11
|
+
|
|
12
|
+
安装后直接体验(无需额外演示):
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g fe-cli-starter
|
|
15
|
+
fe create demo # 交互式初始化项目
|
|
16
|
+
fe scan ./demo # 扫描规范问题
|
|
17
|
+
fe fix ./demo # 一键修复
|
|
18
|
+
```
|
|
19
|
+
|
|
5
20
|
## 解决什么痛点
|
|
6
21
|
- 新项目每次都要重新配 ESLint / Prettier / Stylelint / Commitlint,费时且容易漏
|
|
7
22
|
- 多个项目代码风格不一致,Review 成本高
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fe-cli-starter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "开箱即用的前端工程化 CLI 脚手架:初始化 Vue3+Vite 项目、扫描与一键修复存量代码规范问题",
|
|
5
5
|
"bin": {
|
|
6
6
|
"fe": "./bin/fe.js"
|
|
@@ -35,5 +35,13 @@
|
|
|
35
35
|
"glob": "^11.0.0",
|
|
36
36
|
"eslint-plugin-vue": "^9.0.0",
|
|
37
37
|
"@eslint/js": "^9.0.0"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/wmh1106/fe-cli-starter.git"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://github.com/wmh1106/fe-cli-starter#readme",
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/wmh1106/fe-cli-starter/issues"
|
|
38
46
|
}
|
|
39
47
|
}
|