western-world 3.0.650 → 3.0.652
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/.eslintrc.json +35 -0
- package/config/webpack-build.js +10 -10
- package/config/webpack-dev.js +7 -7
- package/dist/index.js +1 -1
- package/package.json +8 -2
- package/src/defs/bank_building.js +1 -1
- package/src/defs/clock_sign/clock_sign.js +1 -1
- package/src/defs/confetti/confetti.js +1 -1
- package/src/defs/dollar_sign.js +1 -1
- package/src/defs/money_with_wings/money_with_wings.js +1 -1
- package/src/defs/star.js +1 -1
- package/src/filters/blur_filter.js +1 -1
- package/src/patterns/bricks.pattern.js +1 -1
- package/src/patterns/elephant.pattern.js +1 -1
- package/src/scss/backgrounds/start.scss +10 -15
- package/src/scss/cells/broiler_digest.scss +2 -2
- package/src/scss/cells/fake_coins.scss +2 -3
- package/src/scss/cells/protess_mission.scss +22 -10
- package/src/scss/cells/terrorist.scss +5 -5
- package/src/scss/others/circle_is_done.scss +5 -5
- package/src/svg/cells/bet_on_star_won_40.svg +147 -148
- package/src/svg/cells/broiler_digest.svg +90 -61
- package/src/svg/cells/crack_house.svg +330 -257
- package/src/svg/cells/crocodile.svg +127 -113
- package/src/svg/cells/drugs_104.svg +57 -50
- package/src/svg/cells/fake_coins.svg +74 -71
- package/src/svg/cells/player_lock_107.svg +72 -73
- package/src/svg/cells/protess_mission.svg +283 -270
- package/src/svg/cells/shooting.svg +141 -125
- package/src/svg/cells/terrorist.svg +112 -107
- package/src/svg/index.js +264 -252
- package/src/svg/others/circle_is_done.svg +77 -66
- package/src/svg/others/star.svg +28 -19
- package/src/western-world-build-svg.helpers.js +12 -17
- package/src/western-world-images-loader.js +17 -17
- package/src/western-world.component.js +7 -7
- package/src/western-world.utils.constants.js +1 -2
- package/src/western-world.utils.helpers.js +8 -8
- package/src/western-world.utils.js +8 -8
- package/.prettierrc +0 -8
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"node": true,
|
|
5
|
+
"es6": true
|
|
6
|
+
},
|
|
7
|
+
"ignorePatterns": ["dist/**/*"],
|
|
8
|
+
"parserOptions": {
|
|
9
|
+
"sourceType": "module",
|
|
10
|
+
"ecmaVersion": 2020
|
|
11
|
+
},
|
|
12
|
+
"extends": [
|
|
13
|
+
"eslint:recommended",
|
|
14
|
+
"plugin:prettier/recommended"
|
|
15
|
+
],
|
|
16
|
+
"plugins": [
|
|
17
|
+
"prettier"
|
|
18
|
+
],
|
|
19
|
+
"rules": {
|
|
20
|
+
"prettier/prettier": [
|
|
21
|
+
"error",
|
|
22
|
+
{
|
|
23
|
+
"trailingComma": "none",
|
|
24
|
+
"arrowParens": "avoid",
|
|
25
|
+
"singleQuote": true,
|
|
26
|
+
"endOfLine": "auto",
|
|
27
|
+
"printWidth": 120,
|
|
28
|
+
"useTabs": false,
|
|
29
|
+
"tabWidth": 2,
|
|
30
|
+
"semi": true,
|
|
31
|
+
"bracketSpacing": true
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
package/config/webpack-build.js
CHANGED
|
@@ -4,11 +4,11 @@ const TerserPlugin = require('terser-webpack-plugin');
|
|
|
4
4
|
module.exports = {
|
|
5
5
|
mode: 'production',
|
|
6
6
|
entry: {
|
|
7
|
-
index: './src/index.js'
|
|
7
|
+
index: './src/index.js'
|
|
8
8
|
},
|
|
9
9
|
output: {
|
|
10
10
|
path: helpers.root('dist'),
|
|
11
|
-
filename: '[name].js'
|
|
11
|
+
filename: '[name].js'
|
|
12
12
|
},
|
|
13
13
|
optimization: {
|
|
14
14
|
minimizer: [
|
|
@@ -17,18 +17,18 @@ module.exports = {
|
|
|
17
17
|
extractComments: true,
|
|
18
18
|
terserOptions: {
|
|
19
19
|
keep_classnames: true,
|
|
20
|
-
keep_fnames: true
|
|
21
|
-
}
|
|
22
|
-
})
|
|
23
|
-
]
|
|
20
|
+
keep_fnames: true
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
24
|
},
|
|
25
25
|
resolve: { extensions: ['.js'] },
|
|
26
26
|
module: {
|
|
27
27
|
rules: [
|
|
28
28
|
{
|
|
29
29
|
test: /\.svg$/,
|
|
30
|
-
loader: 'svg-inline-loader'
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
}
|
|
30
|
+
loader: 'svg-inline-loader'
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
34
|
};
|
package/config/webpack-dev.js
CHANGED
|
@@ -6,25 +6,25 @@ module.exports = {
|
|
|
6
6
|
entry: './src/index.js',
|
|
7
7
|
output: {
|
|
8
8
|
filename: 'index.js',
|
|
9
|
-
path: helpers.root('dist')
|
|
9
|
+
path: helpers.root('dist')
|
|
10
10
|
},
|
|
11
11
|
resolve: { extensions: ['.js'] },
|
|
12
12
|
module: {
|
|
13
13
|
rules: [
|
|
14
14
|
{
|
|
15
15
|
test: /\.svg$/,
|
|
16
|
-
loader: 'svg-inline-loader'
|
|
17
|
-
}
|
|
18
|
-
]
|
|
16
|
+
loader: 'svg-inline-loader'
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
19
|
},
|
|
20
20
|
plugins: [
|
|
21
21
|
new HtmlWebpackPlugin({
|
|
22
|
-
template: 'demo-templates/index.html'
|
|
23
|
-
})
|
|
22
|
+
template: 'demo-templates/index.html' // to use demo-templates/index.html for dev mode and open it in the browser;
|
|
23
|
+
})
|
|
24
24
|
],
|
|
25
25
|
devServer: {
|
|
26
26
|
static: helpers.root('dist'),
|
|
27
27
|
port: 9030,
|
|
28
28
|
open: true
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
};
|