node-automator 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  // 控制台文本颜色
2
3
  const path = require("path");
3
4
  require("colors");
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "node-automator",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Execute automation with yaml configuration(compatible with json)",
5
5
  "main": "index.js",
6
6
  "repository": {
7
7
  "url": "https://gitee.com/TsubasaYeung/node-automator.git",
8
8
  "type": "git"
9
9
  },
10
+ "bin": "index.js",
10
11
  "scripts": {
11
12
  "test": "node . ./examples/print_env.yml"
12
13
  },