@rpg-engine/shared 0.8.92 → 0.8.94

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 (140) hide show
  1. package/README.md +29 -29
  2. package/dist/constants/date.constants.d.ts +2 -2
  3. package/dist/constants/date.constants.js +5 -5
  4. package/dist/constants/npc.constants.d.ts +1 -1
  5. package/dist/constants/npc.constants.js +4 -4
  6. package/dist/constants/socket.constants.d.ts +2 -2
  7. package/dist/constants/socket.constants.js +6 -6
  8. package/dist/constants/world.constants.d.ts +10 -10
  9. package/dist/constants/world.constants.js +13 -13
  10. package/dist/helpers/deviceHelpers.d.ts +2 -2
  11. package/dist/helpers/deviceHelpers.js +16 -16
  12. package/dist/helpers/itemSlotHelper.d.ts +7 -7
  13. package/dist/helpers/itemSlotHelper.js +27 -27
  14. package/dist/helpers/skillHelpers.d.ts +4 -4
  15. package/dist/helpers/skillHelpers.js +25 -25
  16. package/dist/helpers/weightHelper.d.ts +1 -1
  17. package/dist/helpers/weightHelper.js +14 -14
  18. package/dist/index.d.ts +57 -57
  19. package/dist/index.js +73 -73
  20. package/dist/libs/GridHelper.d.ts +11 -11
  21. package/dist/libs/GridHelper.js +37 -37
  22. package/dist/libs/MathHelper.d.ts +16 -16
  23. package/dist/libs/MathHelper.js +14 -14
  24. package/dist/libs/SocketHelper.d.ts +2 -2
  25. package/dist/libs/SocketHelper.js +14 -14
  26. package/dist/libs/TextHelper.d.ts +7 -7
  27. package/dist/libs/TextHelper.js +21 -21
  28. package/dist/libs/TypeHelper.d.ts +3 -3
  29. package/dist/libs/TypeHelper.js +16 -16
  30. package/dist/translations/app-rate.lang.json +38 -38
  31. package/dist/translations/assets.lang.json +82 -82
  32. package/dist/translations/auth.lang.json +182 -182
  33. package/dist/translations/email.lang.json +70 -70
  34. package/dist/translations/error.lang.json +18 -18
  35. package/dist/translations/form.lang.json +94 -94
  36. package/dist/translations/global.lang.json +90 -90
  37. package/dist/translations/logs.lang.json +6 -6
  38. package/dist/translations/onboarding.lang.d.ts +10 -10
  39. package/dist/translations/onboarding.lang.js +21 -21
  40. package/dist/translations/onboarding.lang.json +50 -50
  41. package/dist/translations/order.lang.json +90 -90
  42. package/dist/translations/search.lang.json +50 -50
  43. package/dist/translations/settings.lang.json +14 -14
  44. package/dist/translations/tabs.lang.json +22 -22
  45. package/dist/translations/users.lang.json +22 -22
  46. package/dist/translations/validation.lang.json +86 -86
  47. package/dist/types/animation.types.d.ts +69 -69
  48. package/dist/types/animation.types.js +46 -46
  49. package/dist/types/api.types.d.ts +21 -21
  50. package/dist/types/api.types.js +20 -20
  51. package/dist/types/asset.types.d.ts +6 -6
  52. package/dist/types/asset.types.js +2 -2
  53. package/dist/types/auth.types.d.ts +7 -7
  54. package/dist/types/auth.types.js +2 -2
  55. package/dist/types/battle.types.d.ts +41 -41
  56. package/dist/types/battle.types.js +18 -18
  57. package/dist/types/buff.types.d.ts +39 -39
  58. package/dist/types/buff.types.js +13 -13
  59. package/dist/types/character.types.d.ts +233 -233
  60. package/dist/types/character.types.js +65 -65
  61. package/dist/types/chat.types.d.ts +71 -72
  62. package/dist/types/chat.types.d.ts.map +1 -1
  63. package/dist/types/chat.types.js +22 -22
  64. package/dist/types/chat.types.js.map +1 -1
  65. package/dist/types/depot.types.d.ts +18 -18
  66. package/dist/types/depot.types.js +9 -9
  67. package/dist/types/device.types.d.ts +24 -24
  68. package/dist/types/device.types.js +7 -7
  69. package/dist/types/displayText.types.d.ts +10 -10
  70. package/dist/types/displayText.types.js +7 -7
  71. package/dist/types/entity.types.d.ts +30 -30
  72. package/dist/types/entity.types.js +20 -20
  73. package/dist/types/env.types.d.ts +5 -5
  74. package/dist/types/env.types.js +9 -9
  75. package/dist/types/equipment.types.d.ts +35 -35
  76. package/dist/types/equipment.types.js +18 -18
  77. package/dist/types/googleOAuth.types.d.ts +47 -47
  78. package/dist/types/googleOAuth.types.js +2 -2
  79. package/dist/types/inventory.types.d.ts +7 -7
  80. package/dist/types/inventory.types.js +2 -2
  81. package/dist/types/item.types.d.ts +377 -377
  82. package/dist/types/item.types.js +154 -154
  83. package/dist/types/itemContainer.types.d.ts +83 -83
  84. package/dist/types/itemContainer.types.js +11 -11
  85. package/dist/types/leaderboard.types.d.ts +32 -32
  86. package/dist/types/leaderboard.types.js +9 -9
  87. package/dist/types/macro.types.d.ts +8 -8
  88. package/dist/types/macro.types.js +12 -12
  89. package/dist/types/maps.types.d.ts +90 -90
  90. package/dist/types/maps.types.js +85 -85
  91. package/dist/types/marketplace.types.d.ts +61 -61
  92. package/dist/types/marketplace.types.js +15 -15
  93. package/dist/types/notification.types.d.ts +14 -14
  94. package/dist/types/notification.types.js +2 -2
  95. package/dist/types/npc.types.d.ts +165 -165
  96. package/dist/types/npc.types.js +49 -49
  97. package/dist/types/pagination.types.d.ts +13 -13
  98. package/dist/types/pagination.types.js +2 -2
  99. package/dist/types/party.types.d.ts +83 -83
  100. package/dist/types/party.types.js +54 -54
  101. package/dist/types/places.types.d.ts +16 -16
  102. package/dist/types/places.types.js +9 -9
  103. package/dist/types/preloadScene.types.d.ts +4 -4
  104. package/dist/types/preloadScene.types.js +7 -7
  105. package/dist/types/premiumAccount.types.d.ts +7 -7
  106. package/dist/types/premiumAccount.types.js +11 -11
  107. package/dist/types/quest.types.d.ts +74 -74
  108. package/dist/types/quest.types.js +21 -21
  109. package/dist/types/raid.types.d.ts +6 -6
  110. package/dist/types/raid.types.js +2 -2
  111. package/dist/types/resource.types.d.ts +5 -5
  112. package/dist/types/resource.types.js +2 -2
  113. package/dist/types/scene.types.d.ts +8 -8
  114. package/dist/types/scene.types.js +8 -8
  115. package/dist/types/shortcut.types.d.ts +11 -11
  116. package/dist/types/shortcut.types.js +9 -9
  117. package/dist/types/skills.types.d.ts +144 -144
  118. package/dist/types/skills.types.js +106 -106
  119. package/dist/types/socket.types.d.ts +18 -18
  120. package/dist/types/socket.types.js +8 -8
  121. package/dist/types/spell.types.d.ts +156 -156
  122. package/dist/types/spell.types.d.ts.map +1 -1
  123. package/dist/types/spell.types.js +108 -108
  124. package/dist/types/tiled.types.d.ts +119 -119
  125. package/dist/types/tiled.types.js +7 -7
  126. package/dist/types/trade.types.d.ts +65 -65
  127. package/dist/types/trade.types.js +15 -15
  128. package/dist/types/translation.types.d.ts +5 -5
  129. package/dist/types/translation.types.js +8 -8
  130. package/dist/types/ui.types.d.ts +8 -8
  131. package/dist/types/ui.types.js +7 -7
  132. package/dist/types/useWith.types.d.ts +25 -25
  133. package/dist/types/useWith.types.js +9 -9
  134. package/dist/types/user.types.d.ts +104 -104
  135. package/dist/types/user.types.js +38 -38
  136. package/dist/types/validation.types.d.ts +9 -9
  137. package/dist/types/validation.types.js +2 -2
  138. package/dist/types/view.types.d.ts +15 -15
  139. package/dist/types/view.types.js +7 -7
  140. package/package.json +43 -43
@@ -1,105 +1,105 @@
1
- import { ICharacter } from "./character.types";
2
- import { UserAccountTypes } from "./premiumAccount.types";
3
- import { IResource } from "./resource.types";
4
- export interface IUserPreferences {
5
- experience: UserExperience;
6
- goal: UserGoal;
7
- }
8
- export interface IUserEntity extends IResource {
9
- name: string | null;
10
- role: UserTypes | null;
11
- authFlow: UserAuthFlow;
12
- email: string;
13
- address: string | null;
14
- phone: string | null;
15
- unsubscribed: boolean;
16
- characters: ICharacter[];
17
- wallet: IUserWallet;
18
- isPremiumAccount: boolean;
19
- accountType: UserAccountTypes;
20
- }
21
- export interface IUserWallet {
22
- publicAddress: string;
23
- networkId: number;
24
- }
25
- export interface IUserToken {
26
- token: string;
27
- }
28
- export declare enum UserExperience {
29
- Beginner = "Beginner",
30
- Intermediate = "Intermediate",
31
- Advanced = "Advanced"
32
- }
33
- export declare enum UserGoal {
34
- LearnMore = "LearnMore",
35
- TrackPortfolio = "TrackPortfolio",
36
- CompanyInsights = "CompanyInsights"
37
- }
38
- export declare enum UserTypes {
39
- Admin = "Admin",
40
- Regular = "Regular",
41
- Staff = "Staff"
42
- }
43
- export declare enum UserAuthFlow {
44
- Basic = "Basic",
45
- GoogleOAuth = "GoogleOAuth",
46
- FacebookOAuth = "FacebookOAuth",
47
- LinkedInOAuth = "LinkedInOAuth",
48
- AppleOAuth = "AppleOAuth"
49
- }
50
- export interface IUser extends IUserEntity {
51
- name: string | null;
52
- isLoggedIn: boolean;
53
- token: string | null;
54
- }
55
- export interface INewUser {
56
- name: string;
57
- email: string;
58
- password: string;
59
- passwordConfirmation: string;
60
- address?: string;
61
- phone?: string;
62
- }
63
- export interface IUserCredentials {
64
- email: string;
65
- password: string;
66
- }
67
- export interface IChangePasswords {
68
- currentPassword: string;
69
- newPassword: string;
70
- }
71
- export interface IUserAccessToken {
72
- accessToken: string;
73
- }
74
- export declare enum UserActionTypes {
75
- fetch = "fetch",
76
- login = "login",
77
- refreshInfo = "refreshInfo",
78
- clear = "clear",
79
- register = "register",
80
- updatePushNotificationToken = "updatePushNotificationToken"
81
- }
82
- export interface IDispatchUpdatePushNotificationToken {
83
- type: UserActionTypes.updatePushNotificationToken;
84
- payload: string;
85
- }
86
- export interface IDispatchUserFetch {
87
- type: UserActionTypes.fetch;
88
- payload: IUser;
89
- }
90
- export interface IDispatchUserInfo {
91
- type: UserActionTypes.refreshInfo;
92
- payload: IUserEntity;
93
- }
94
- export interface IDispatchUserLogin {
95
- type: UserActionTypes.login;
96
- payload: IUserAccessToken;
97
- }
98
- export interface IDispatchUserClear {
99
- type: UserActionTypes.clear;
100
- }
101
- export interface IDispatchUserRegister {
102
- type: UserActionTypes.register;
103
- }
104
- export declare type UserAction = IDispatchUserFetch | IDispatchUserLogin | IDispatchUserInfo | IDispatchUserClear | IDispatchUpdatePushNotificationToken;
1
+ import { ICharacter } from "./character.types";
2
+ import { UserAccountTypes } from "./premiumAccount.types";
3
+ import { IResource } from "./resource.types";
4
+ export interface IUserPreferences {
5
+ experience: UserExperience;
6
+ goal: UserGoal;
7
+ }
8
+ export interface IUserEntity extends IResource {
9
+ name: string | null;
10
+ role: UserTypes | null;
11
+ authFlow: UserAuthFlow;
12
+ email: string;
13
+ address: string | null;
14
+ phone: string | null;
15
+ unsubscribed: boolean;
16
+ characters: ICharacter[];
17
+ wallet: IUserWallet;
18
+ isPremiumAccount: boolean;
19
+ accountType: UserAccountTypes;
20
+ }
21
+ export interface IUserWallet {
22
+ publicAddress: string;
23
+ networkId: number;
24
+ }
25
+ export interface IUserToken {
26
+ token: string;
27
+ }
28
+ export declare enum UserExperience {
29
+ Beginner = "Beginner",
30
+ Intermediate = "Intermediate",
31
+ Advanced = "Advanced"
32
+ }
33
+ export declare enum UserGoal {
34
+ LearnMore = "LearnMore",
35
+ TrackPortfolio = "TrackPortfolio",
36
+ CompanyInsights = "CompanyInsights"
37
+ }
38
+ export declare enum UserTypes {
39
+ Admin = "Admin",
40
+ Regular = "Regular",
41
+ Staff = "Staff"
42
+ }
43
+ export declare enum UserAuthFlow {
44
+ Basic = "Basic",
45
+ GoogleOAuth = "GoogleOAuth",
46
+ FacebookOAuth = "FacebookOAuth",
47
+ LinkedInOAuth = "LinkedInOAuth",
48
+ AppleOAuth = "AppleOAuth"
49
+ }
50
+ export interface IUser extends IUserEntity {
51
+ name: string | null;
52
+ isLoggedIn: boolean;
53
+ token: string | null;
54
+ }
55
+ export interface INewUser {
56
+ name: string;
57
+ email: string;
58
+ password: string;
59
+ passwordConfirmation: string;
60
+ address?: string;
61
+ phone?: string;
62
+ }
63
+ export interface IUserCredentials {
64
+ email: string;
65
+ password: string;
66
+ }
67
+ export interface IChangePasswords {
68
+ currentPassword: string;
69
+ newPassword: string;
70
+ }
71
+ export interface IUserAccessToken {
72
+ accessToken: string;
73
+ }
74
+ export declare enum UserActionTypes {
75
+ fetch = "fetch",
76
+ login = "login",
77
+ refreshInfo = "refreshInfo",
78
+ clear = "clear",
79
+ register = "register",
80
+ updatePushNotificationToken = "updatePushNotificationToken"
81
+ }
82
+ export interface IDispatchUpdatePushNotificationToken {
83
+ type: UserActionTypes.updatePushNotificationToken;
84
+ payload: string;
85
+ }
86
+ export interface IDispatchUserFetch {
87
+ type: UserActionTypes.fetch;
88
+ payload: IUser;
89
+ }
90
+ export interface IDispatchUserInfo {
91
+ type: UserActionTypes.refreshInfo;
92
+ payload: IUserEntity;
93
+ }
94
+ export interface IDispatchUserLogin {
95
+ type: UserActionTypes.login;
96
+ payload: IUserAccessToken;
97
+ }
98
+ export interface IDispatchUserClear {
99
+ type: UserActionTypes.clear;
100
+ }
101
+ export interface IDispatchUserRegister {
102
+ type: UserActionTypes.register;
103
+ }
104
+ export declare type UserAction = IDispatchUserFetch | IDispatchUserLogin | IDispatchUserInfo | IDispatchUserClear | IDispatchUpdatePushNotificationToken;
105
105
  //# sourceMappingURL=user.types.d.ts.map
@@ -1,39 +1,39 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserActionTypes = exports.UserAuthFlow = exports.UserTypes = exports.UserGoal = exports.UserExperience = void 0;
4
- var UserExperience;
5
- (function (UserExperience) {
6
- UserExperience["Beginner"] = "Beginner";
7
- UserExperience["Intermediate"] = "Intermediate";
8
- UserExperience["Advanced"] = "Advanced";
9
- })(UserExperience = exports.UserExperience || (exports.UserExperience = {}));
10
- var UserGoal;
11
- (function (UserGoal) {
12
- UserGoal["LearnMore"] = "LearnMore";
13
- UserGoal["TrackPortfolio"] = "TrackPortfolio";
14
- UserGoal["CompanyInsights"] = "CompanyInsights";
15
- })(UserGoal = exports.UserGoal || (exports.UserGoal = {}));
16
- var UserTypes;
17
- (function (UserTypes) {
18
- UserTypes["Admin"] = "Admin";
19
- UserTypes["Regular"] = "Regular";
20
- UserTypes["Staff"] = "Staff";
21
- })(UserTypes = exports.UserTypes || (exports.UserTypes = {}));
22
- var UserAuthFlow;
23
- (function (UserAuthFlow) {
24
- UserAuthFlow["Basic"] = "Basic";
25
- UserAuthFlow["GoogleOAuth"] = "GoogleOAuth";
26
- UserAuthFlow["FacebookOAuth"] = "FacebookOAuth";
27
- UserAuthFlow["LinkedInOAuth"] = "LinkedInOAuth";
28
- UserAuthFlow["AppleOAuth"] = "AppleOAuth";
29
- })(UserAuthFlow = exports.UserAuthFlow || (exports.UserAuthFlow = {}));
30
- var UserActionTypes;
31
- (function (UserActionTypes) {
32
- UserActionTypes["fetch"] = "fetch";
33
- UserActionTypes["login"] = "login";
34
- UserActionTypes["refreshInfo"] = "refreshInfo";
35
- UserActionTypes["clear"] = "clear";
36
- UserActionTypes["register"] = "register";
37
- UserActionTypes["updatePushNotificationToken"] = "updatePushNotificationToken";
38
- })(UserActionTypes = exports.UserActionTypes || (exports.UserActionTypes = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserActionTypes = exports.UserAuthFlow = exports.UserTypes = exports.UserGoal = exports.UserExperience = void 0;
4
+ var UserExperience;
5
+ (function (UserExperience) {
6
+ UserExperience["Beginner"] = "Beginner";
7
+ UserExperience["Intermediate"] = "Intermediate";
8
+ UserExperience["Advanced"] = "Advanced";
9
+ })(UserExperience = exports.UserExperience || (exports.UserExperience = {}));
10
+ var UserGoal;
11
+ (function (UserGoal) {
12
+ UserGoal["LearnMore"] = "LearnMore";
13
+ UserGoal["TrackPortfolio"] = "TrackPortfolio";
14
+ UserGoal["CompanyInsights"] = "CompanyInsights";
15
+ })(UserGoal = exports.UserGoal || (exports.UserGoal = {}));
16
+ var UserTypes;
17
+ (function (UserTypes) {
18
+ UserTypes["Admin"] = "Admin";
19
+ UserTypes["Regular"] = "Regular";
20
+ UserTypes["Staff"] = "Staff";
21
+ })(UserTypes = exports.UserTypes || (exports.UserTypes = {}));
22
+ var UserAuthFlow;
23
+ (function (UserAuthFlow) {
24
+ UserAuthFlow["Basic"] = "Basic";
25
+ UserAuthFlow["GoogleOAuth"] = "GoogleOAuth";
26
+ UserAuthFlow["FacebookOAuth"] = "FacebookOAuth";
27
+ UserAuthFlow["LinkedInOAuth"] = "LinkedInOAuth";
28
+ UserAuthFlow["AppleOAuth"] = "AppleOAuth";
29
+ })(UserAuthFlow = exports.UserAuthFlow || (exports.UserAuthFlow = {}));
30
+ var UserActionTypes;
31
+ (function (UserActionTypes) {
32
+ UserActionTypes["fetch"] = "fetch";
33
+ UserActionTypes["login"] = "login";
34
+ UserActionTypes["refreshInfo"] = "refreshInfo";
35
+ UserActionTypes["clear"] = "clear";
36
+ UserActionTypes["register"] = "register";
37
+ UserActionTypes["updatePushNotificationToken"] = "updatePushNotificationToken";
38
+ })(UserActionTypes = exports.UserActionTypes || (exports.UserActionTypes = {}));
39
39
  //# sourceMappingURL=user.types.js.map
@@ -1,10 +1,10 @@
1
- export interface IValidationError {
2
- target?: Object | undefined;
3
- value?: string;
4
- property?: string;
5
- children?: object[];
6
- constraints?: {
7
- [type: string]: string;
8
- } | undefined;
9
- }
1
+ export interface IValidationError {
2
+ target?: Object | undefined;
3
+ value?: string;
4
+ property?: string;
5
+ children?: object[];
6
+ constraints?: {
7
+ [type: string]: string;
8
+ } | undefined;
9
+ }
10
10
  //# sourceMappingURL=validation.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=validation.types.js.map
@@ -1,16 +1,16 @@
1
- export interface IViewElement {
2
- id: string;
3
- x: number;
4
- y: number;
5
- scene: string;
6
- direction?: string;
7
- isDeadBodyLootable?: boolean;
8
- }
9
- export declare enum ViewSocketEvents {
10
- Destroy = "Destroy"
11
- }
12
- export interface IViewDestroyElementPayload {
13
- type: "npcs" | "items" | "characters";
14
- id: string;
15
- }
1
+ export interface IViewElement {
2
+ id: string;
3
+ x: number;
4
+ y: number;
5
+ scene: string;
6
+ direction?: string;
7
+ isDeadBodyLootable?: boolean;
8
+ }
9
+ export declare enum ViewSocketEvents {
10
+ Destroy = "Destroy"
11
+ }
12
+ export interface IViewDestroyElementPayload {
13
+ type: "npcs" | "items" | "characters";
14
+ id: string;
15
+ }
16
16
  //# sourceMappingURL=view.types.d.ts.map
@@ -1,8 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ViewSocketEvents = void 0;
4
- var ViewSocketEvents;
5
- (function (ViewSocketEvents) {
6
- ViewSocketEvents["Destroy"] = "Destroy";
7
- })(ViewSocketEvents = exports.ViewSocketEvents || (exports.ViewSocketEvents = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ViewSocketEvents = void 0;
4
+ var ViewSocketEvents;
5
+ (function (ViewSocketEvents) {
6
+ ViewSocketEvents["Destroy"] = "Destroy";
7
+ })(ViewSocketEvents = exports.ViewSocketEvents || (exports.ViewSocketEvents = {}));
8
8
  //# sourceMappingURL=view.types.js.map
package/package.json CHANGED
@@ -1,43 +1,43 @@
1
- {
2
- "name": "@rpg-engine/shared",
3
- "version": "0.8.92",
4
- "description": "Types shared across our API and client",
5
- "author": "Definya Team",
6
- "homepage": "",
7
- "license": "ISC",
8
- "main": "dist/index",
9
- "directories": {
10
- "dist": "dist",
11
- "src": "src"
12
- },
13
- "files": [
14
- "dist"
15
- ],
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "scripts": {
20
- "test": "echo \"Error: no test specified\" && exit 1",
21
- "tsc": "tsc -p .",
22
- "prepublish": "tsc",
23
- "format": "prettier --write 'src/**/*.ts' --loglevel silent",
24
- "format:check": "prettier --check '**/*.ts' '**/*.json'",
25
- "configure": "./environment/download-credentials.sh"
26
- },
27
- "husky": {
28
- "hooks": {
29
- "pre-push": "yarn tsc && yarn format"
30
- }
31
- },
32
- "dependencies": {
33
- "husky": "^4.3.0",
34
- "mobile-device-detect": "^0.4.3",
35
- "prettier": "^2.2.1",
36
- "tsc": "^2.0.4",
37
- "typescript": "^4.6.4"
38
- },
39
- "devDependencies": {
40
- "@rpg-engine/shared": "^0.2.51",
41
- "@types/mongoose": "^5.11.97"
42
- }
43
- }
1
+ {
2
+ "name": "@rpg-engine/shared",
3
+ "version": "0.8.94",
4
+ "description": "Types shared across our API and client",
5
+ "author": "Definya Team",
6
+ "homepage": "",
7
+ "license": "ISC",
8
+ "main": "dist/index",
9
+ "directories": {
10
+ "dist": "dist",
11
+ "src": "src"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "scripts": {
20
+ "test": "echo \"Error: no test specified\" && exit 1",
21
+ "tsc": "tsc -p .",
22
+ "prepublish": "tsc",
23
+ "format": "prettier --write 'src/**/*.ts' --loglevel silent",
24
+ "format:check": "prettier --check '**/*.ts' '**/*.json'",
25
+ "configure": "./environment/download-credentials.sh"
26
+ },
27
+ "husky": {
28
+ "hooks": {
29
+ "pre-push": "yarn tsc && yarn format"
30
+ }
31
+ },
32
+ "dependencies": {
33
+ "husky": "^4.3.0",
34
+ "mobile-device-detect": "^0.4.3",
35
+ "prettier": "^2.2.1",
36
+ "tsc": "^2.0.4",
37
+ "typescript": "^4.6.4"
38
+ },
39
+ "devDependencies": {
40
+ "@rpg-engine/shared": "^0.2.51",
41
+ "@types/mongoose": "^5.11.97"
42
+ }
43
+ }