@lx-cli-dev-wj/utils 0.0.4 → 0.0.6
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/bin/index.js +16 -0
- package/package.json +3 -2
package/bin/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#! /usr/bin/env node
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
console.log('22222')
|
|
6
|
+
|
|
7
|
+
// const importLocal = require('import-local')
|
|
8
|
+
|
|
9
|
+
// if (importLocal(__filename)) {
|
|
10
|
+
// require('npmlog').info('cli:正在使用import 本地版本')
|
|
11
|
+
// } else {
|
|
12
|
+
// require('../lib/index.js')(process.argv.slice(2))
|
|
13
|
+
// //
|
|
14
|
+
|
|
15
|
+
// ///
|
|
16
|
+
// }
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lx-cli-dev-wj/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://gitee.com/wj_git_wx/lx-cli-dev-wj.git"
|
|
9
9
|
},
|
|
10
|
+
"bin": "./bin/index.js",
|
|
10
11
|
"license": "ISC",
|
|
11
12
|
"author": "Your Name <your.email@example.com>",
|
|
12
13
|
"main": "lib/utils.js",
|
|
@@ -23,5 +24,5 @@
|
|
|
23
24
|
"publishConfig": {
|
|
24
25
|
"access": "public"
|
|
25
26
|
},
|
|
26
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "fbefb541c7d22af6698bfce7db1a97ed24faad36"
|
|
27
28
|
}
|