warcraft-3-w3ts-utils 0.1.4 → 0.1.7

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.
@@ -0,0 +1 @@
1
+ export * from "./utils/index";
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./utils/index"), exports);
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGdEQUE4QiJ9
@@ -0,0 +1,15 @@
1
+ export * from "./abilities";
2
+ export * from "./camera";
3
+ export * from "./chat-command";
4
+ export * from "./color";
5
+ export * from "./item";
6
+ export * from "./math";
7
+ export * from "./minimapIcons";
8
+ export * from "./misc";
9
+ export * from "./physics";
10
+ export * from "./players";
11
+ export * from "./point";
12
+ export * from "./quests";
13
+ export * from "./textTag";
14
+ export * from "./timer";
15
+ export * from "./units";
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./abilities"), exports);
18
+ __exportStar(require("./camera"), exports);
19
+ __exportStar(require("./chat-command"), exports);
20
+ __exportStar(require("./color"), exports);
21
+ __exportStar(require("./item"), exports);
22
+ __exportStar(require("./math"), exports);
23
+ __exportStar(require("./minimapIcons"), exports);
24
+ __exportStar(require("./misc"), exports);
25
+ __exportStar(require("./physics"), exports);
26
+ __exportStar(require("./players"), exports);
27
+ __exportStar(require("./point"), exports);
28
+ __exportStar(require("./quests"), exports);
29
+ __exportStar(require("./textTag"), exports);
30
+ __exportStar(require("./timer"), exports);
31
+ __exportStar(require("./units"), exports);
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDhDQUE0QjtBQUM1QiwyQ0FBeUI7QUFDekIsaURBQStCO0FBQy9CLDBDQUF3QjtBQUN4Qix5Q0FBdUI7QUFDdkIseUNBQXVCO0FBQ3ZCLGlEQUErQjtBQUMvQix5Q0FBdUI7QUFDdkIsNENBQTBCO0FBQzFCLDRDQUEwQjtBQUMxQiwwQ0FBd0I7QUFDeEIsMkNBQXlCO0FBQ3pCLDRDQUEwQjtBQUMxQiwwQ0FBd0I7QUFDeEIsMENBQXdCIn0=
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "warcraft-3-w3ts-utils",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "A library of utility functions for modding Warcraft 3 utilizing the W3TS template.",
5
- "main": "index.js",
5
+ "main": "./src/index.ts",
6
+ "keywords": [
7
+ "Warcraft 3"
8
+ ],
6
9
  "scripts": {
7
- "test": "npm run test"
10
+ "compile": "tsc",
11
+ "build": "npm run compile",
12
+ "prepare": "npm run build"
8
13
  },
9
14
  "files": [
10
15
  "dist",
package/tsconfig.json CHANGED
@@ -1,4 +1,6 @@
1
1
  {
2
+ "include": ["src/**/*.ts", "src/**/*.js"],
3
+ "exclude": ["node_modules/**"],
2
4
  "compilerOptions": {
3
5
  "incremental": true,
4
6
  "strict": true,
@@ -12,7 +14,8 @@
12
14
  "target": "esnext",
13
15
  "module": "commonjs",
14
16
  "lib": ["ESNext"],
15
- "moduleResolution": "node",
17
+ "moduleResolution": "node10",
18
+
16
19
  "paths": {
17
20
  "@objectdata/*": [
18
21
  "./node_modules/war3-objectdata-th/dist/cjs/generated/constants/*"
@@ -33,7 +36,5 @@
33
36
  "war3-transformer/types",
34
37
  "war3-objectdata-th/dist/cjs/objectdata"
35
38
  ]
36
- },
37
- "include": ["src"],
38
- "exclude": []
39
+ }
39
40
  }