@truelab/truelogic 3.1.0-1 → 3.1.0
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 declare const redirectToCasinoUrl: (url: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truelab/truelogic",
|
|
3
|
-
"version": "3.1.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/truelogic.min.js",
|
|
6
6
|
"types": "./dist/types/src/truelogic.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"build:prod": "webpack --env mode=production",
|
|
19
19
|
"build:deploy": "webpack --env mode=production --env isStaging",
|
|
20
20
|
"build:docs": "npm run build --prefix ./docs && mv ./docs/build ./dist/docs",
|
|
21
|
+
"build:storybook": "storybook build -c ./config/storybook -o dist/storybook",
|
|
21
22
|
"lint:ts": "eslint \"**/*.{ts,tsx}\"",
|
|
22
23
|
"lint:ts:fix": "eslint \"**/*.{ts,tsx}\" --fix",
|
|
23
24
|
"lint:scss": "stylelint \"**/*.scss\"",
|
|
@@ -27,8 +28,11 @@
|
|
|
27
28
|
"test": "jest --config ./config/jest/jest.config.ts",
|
|
28
29
|
"test:watch": "jest --config ./config/jest/jest.config.ts --watch",
|
|
29
30
|
"prepare": "husky install",
|
|
31
|
+
"docs": "npm start --prefix ./docs",
|
|
30
32
|
"storybook": "storybook dev -p 2992 -c ./config/storybook",
|
|
31
|
-
"
|
|
33
|
+
"loki": "loki test --diffingEngine looks-same",
|
|
34
|
+
"loki:approve": "loki approve",
|
|
35
|
+
"loki:ci": "loki --diffingEngine looks-same --chromeDockerWithoutSeccomp --verboseRenderer --requireReference --reactUri file:./dist/storybook --chromeFlags=\"--headless --disable-gpu --hide-scrollbars --no-sandbox\""
|
|
32
36
|
},
|
|
33
37
|
"lint-staged": {
|
|
34
38
|
"**/*.{ts,tsx}": "eslint --fix",
|
|
@@ -72,6 +76,7 @@
|
|
|
72
76
|
"classnames": "^2.5.1",
|
|
73
77
|
"css-loader": "^6.10.0",
|
|
74
78
|
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
79
|
+
"docs": "file:docs",
|
|
75
80
|
"docs-website": "file:docs-website",
|
|
76
81
|
"eslint": "^8.57.0",
|
|
77
82
|
"eslint-config-airbnb": "^19.0.4",
|
|
@@ -119,8 +124,7 @@
|
|
|
119
124
|
"webpack-bundle-analyzer": "^4.10.1",
|
|
120
125
|
"webpack-cli": "^5.1.4",
|
|
121
126
|
"webpack-dev-server": "^5.0.2",
|
|
122
|
-
"webpack-merge": "^6.0.1"
|
|
123
|
-
"docs": "file:docs"
|
|
127
|
+
"webpack-merge": "^6.0.1"
|
|
124
128
|
},
|
|
125
129
|
"dependencies": {
|
|
126
130
|
"@rlx/feim": "^1.16.0",
|
|
@@ -136,12 +140,22 @@
|
|
|
136
140
|
"overrides": {
|
|
137
141
|
"@pmmmwh/react-refresh-webpack-plugin": {
|
|
138
142
|
"webpack-dev-server": "^5.0.2"
|
|
143
|
+
},
|
|
144
|
+
"ink": {
|
|
145
|
+
"react": "^17.0.2"
|
|
139
146
|
}
|
|
140
147
|
},
|
|
141
148
|
"loki": {
|
|
149
|
+
"looks-same": {
|
|
150
|
+
"strict": false,
|
|
151
|
+
"tolerance": 2.5,
|
|
152
|
+
"antialiasingTolerance": 0,
|
|
153
|
+
"ignoreAntialiasing": true,
|
|
154
|
+
"ignoreCaret": true
|
|
155
|
+
},
|
|
142
156
|
"configurations": {
|
|
143
157
|
"chrome": {
|
|
144
|
-
"target": "chrome.
|
|
158
|
+
"target": "chrome.docker",
|
|
145
159
|
"width": 1440,
|
|
146
160
|
"height": 900,
|
|
147
161
|
"deviceScaleFactor": 1,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const leaveGame: (lobbyUrl: string) => void;
|