@makano/rew 1.0.2 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
package/bin/rew CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  const path = require('path');
3
3
  const fs = require('fs');
4
- const rew_mod = path.resolve(process.cwd(), 'node_modules/rew');
4
+ const rew_mod = path.resolve(process.cwd(), 'node_modules/@makano/rew');
5
5
  if(fs.existsSync(rew_mod)){
6
- require(rew_mod(path.join(rew_mod, 'lib/rew/cli.js')));
6
+ require(path.join(rew_mod, 'lib/rew/cli/cli.js'));
7
7
  } else {
8
8
  require('../lib/rew/cli/cli.js');
9
- }
9
+ }
@@ -8,7 +8,7 @@ const { generateRandomID } = require("../functions/id");
8
8
  const { THEME_PATH } = require("../const/files");
9
9
 
10
10
 
11
- const BIN_PATH = path.resolve(__dirname, "../../bin/ui");
11
+ const BIN_PATH = path.resolve(__dirname, "../../../bin/ui");
12
12
  const HTML_STRING = fs.readFileSync(
13
13
  path.resolve(__dirname, "../html/ui.html"),
14
14
  { encoding: "utf-8" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.0.02",
3
+ "version": "1.0.22",
4
4
  "description": "",
5
5
  "main": "lib/rew/main.js",
6
6
  "directories": {