@lm_fe/scripts 0.1.207 → 0.1.209
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 +9 -18
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,31 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@lm_fe/scripts` +4+
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> lm_fe 使用脚本
|
|
6
6
|
|
|
7
|
+
# 使用
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
```sh
|
|
13
|
-
npm i yargs-parser --save
|
|
10
|
+
```bash
|
|
11
|
+
npx copy-static
|
|
14
12
|
```
|
|
15
13
|
|
|
14
|
+
## 安装
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
import parser from 'yargs-parser'
|
|
21
|
-
|
|
22
|
-
const argv = parser('--foo=99 --bar=9987930', {
|
|
23
|
-
string: ['bar']
|
|
24
|
-
})
|
|
25
|
-
console.log(argv)
|
|
16
|
+
```bash
|
|
17
|
+
npm install @lm_fe/scripts
|
|
26
18
|
```
|
|
27
19
|
|
|
20
|
+
## 能力
|
|
28
21
|
|
|
29
|
-
## License
|
|
30
22
|
|
|
31
|
-
ISC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lm_fe/scripts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.209",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"gen-routes": "dist/gen-routes.js",
|
|
14
14
|
"gen-form-config": "dist/gen-form-config.js",
|
|
15
15
|
"copy-static": "dist/copy-static.js",
|
|
16
|
-
"color-log": "dist/color-log.js"
|
|
17
|
-
"lm-cli": "dist/cli.js"
|
|
16
|
+
"color-log": "dist/color-log.js"
|
|
18
17
|
},
|
|
19
18
|
"main": "dist/index.js",
|
|
20
19
|
"directories": {
|
|
@@ -36,12 +35,12 @@
|
|
|
36
35
|
"rollup": "^2.70.2"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@lm_fe/static": "^0.1.
|
|
38
|
+
"@lm_fe/static": "^0.1.209",
|
|
40
39
|
"@noah-libjs/utils": "0.0.48",
|
|
41
40
|
"chalk": "^4.1.2",
|
|
42
41
|
"dayjs": "^1.11.13",
|
|
43
42
|
"json2md": "^2.0.2",
|
|
44
43
|
"yargs-parser": "^21.1.1"
|
|
45
44
|
},
|
|
46
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "edb05f20ec447982672c18f972a8873ff7e5749b"
|
|
47
46
|
}
|