@cabin-icarus/tooltip_generator 1.7.10 → 1.7.12

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/fsWatcher.ts CHANGED
@@ -1,4 +1,4 @@
1
- const fs = ('fs');
1
+ const fs = require('fs');
2
2
  import { LocalizationCompiler } from './localizationCompiler';
3
3
  const watch = require("node-watch");
4
4
 
package/install.ts CHANGED
@@ -20,7 +20,7 @@ const aliases = [
20
20
 
21
21
  // Check package.json
22
22
  function CheckPackage() {
23
- console.log("Searching for package.json...");
23
+ console.log("Tooltip Searching for package.json...");
24
24
  const rootPath = "../../../";
25
25
  const scriptPath = "./";
26
26
 
package/package.json CHANGED
@@ -11,15 +11,15 @@
11
11
  "node-watch": "^0.7.1",
12
12
  "npm-run-all": "^4.1.5",
13
13
  "typescript": "^4.1.3",
14
- "valve-kv": "^1.1.0"
14
+ "valve-kv": "^1.1.0",
15
+ "node-xlsx": "^0.23.0"
15
16
  },
16
17
  "deprecated": false,
17
18
  "description": "Code generator that makes creating tooltips for Dota 2 custom games much easier.",
18
19
  "devDependencies": {
19
20
  "@types/node": "^14.14.22",
20
21
  "fs-extra": "^9.1.0",
21
- "ts-node": "^10.9.2",
22
- "node-xlsx": "^0.23.0"
22
+ "ts-node": "^10.9.2"
23
23
  },
24
24
  "homepage": "https://github.com/CabinIkaros/tooltip_generator#readme",
25
25
  "keywords": [
@@ -40,10 +40,10 @@
40
40
  "~generator": "node_modules/@cabin-icarus/tooltip_generator"
41
41
  },
42
42
  "scripts": {
43
- "postinstall": "ts-node install.ts",
43
+ "postinstall": "ts-node -P ./tsconfig.json install.ts",
44
44
  "dev": "run-p dev:*",
45
45
  "dev:runlocalizationWatcher": "ts-node node_modules/~generator/fsWatcher.ts",
46
46
  "init": "link-module-alias && ts-node node_modules/~generator/init.ts"
47
47
  },
48
- "version": "1.7.10"
48
+ "version": "1.7.12"
49
49
  }