kcommons 1.0.0 → 1.0.1

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,2 @@
1
+ export * from "@/typings/item/item_types";
2
+ export * from "@/typings/item/item_uoms";
package/build/index.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("@/typings/item/item_types"), exports);
14
+ __exportStar(require("@/typings/item/item_uoms"), exports);
@@ -0,0 +1,4 @@
1
+ export declare const ITEM_TYPES: {
2
+ GOOD: string;
3
+ SERVICE: string;
4
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ITEM_TYPES = void 0;
4
+ exports.ITEM_TYPES = {
5
+ GOOD: "GOOD",
6
+ SERVICE: "SERVICE",
7
+ };
@@ -0,0 +1,3 @@
1
+ export declare const UOMS: {
2
+ nos: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UOMS = void 0;
4
+ exports.UOMS = {
5
+ nos: "NOS",
6
+ };
@@ -0,0 +1,4 @@
1
+ export declare const ITEM_TYPES: {
2
+ GOOD: string;
3
+ SERVICE: string;
4
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ITEM_TYPES = void 0;
4
+ exports.ITEM_TYPES = {
5
+ GOOD: "GOOD",
6
+ SERVICE: "SERVICE",
7
+ };
package/package.json CHANGED
@@ -1,12 +1,25 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",
7
+ "files": [
8
+ "./build/**/*"
9
+ ],
7
10
  "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
11
+ "test": "echo \"Error: no test specified\"",
12
+ "publish": "npx np"
9
13
  },
10
14
  "author": "",
11
- "license": "ISC"
15
+ "license": "ISC",
16
+ "dependencies": {
17
+ "np": "^10.0.7"
18
+ },
19
+ "devDependencies": {
20
+ "module-alias": "^2.2.3"
21
+ },
22
+ "_moduleAliases": {
23
+ "@": "build"
24
+ }
12
25
  }