@machtwatch/react-script 1.2.11-alpha.14 → 1.2.11-alpha.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@machtwatch/react-script",
|
|
3
|
-
"version": "1.2.11-alpha.
|
|
3
|
+
"version": "1.2.11-alpha.16",
|
|
4
4
|
"description": "Machtwatch React script",
|
|
5
5
|
"author": "Danny Reza Miloen <danny@machtwatch.co.id>",
|
|
6
6
|
"contributors": [],
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"@babel/plugin-proposal-function-bind": "^7.16.7",
|
|
41
41
|
"@babel/plugin-proposal-json-strings": "^7.17.12",
|
|
42
42
|
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
|
|
43
|
+
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
44
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
43
45
|
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
|
|
44
46
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
45
47
|
"@babel/plugin-transform-react-constant-elements": "^7.17.12",
|
|
@@ -100,8 +102,9 @@
|
|
|
100
102
|
"simple-progress-webpack-plugin": "^2.0.0",
|
|
101
103
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
102
104
|
"style-loader": "^3.3.1",
|
|
103
|
-
"stylelint": "^
|
|
104
|
-
"stylelint-
|
|
105
|
+
"stylelint": "^16.10.0",
|
|
106
|
+
"stylelint-config-recommended-less": "^3.0.1",
|
|
107
|
+
"stylelint-webpack-plugin": "^5.0.1",
|
|
105
108
|
"terser": "^5.14.1",
|
|
106
109
|
"terser-webpack-plugin": "^5.3.3",
|
|
107
110
|
"url-loader": "^4.1.1",
|
|
@@ -162,7 +162,9 @@ const webpackConfig = ({ isClient }) => ({
|
|
|
162
162
|
extensions: ['.js', '.jsx', '.mjs'],
|
|
163
163
|
modules: [paths.appSrc, path.resolve(paths.appSrc, 'node_modules'), 'node_modules', './node_modules'],
|
|
164
164
|
alias: {
|
|
165
|
-
build: paths.appBuild
|
|
165
|
+
build: paths.appBuild,
|
|
166
|
+
'@helpers': path.resolve(paths.appSrc, 'helpers'),
|
|
167
|
+
'@components': path.resolve(paths.appSrc, 'components'),
|
|
166
168
|
},
|
|
167
169
|
},
|
|
168
170
|
|
|
@@ -484,7 +486,7 @@ const clientConfig = {
|
|
|
484
486
|
plugins: [
|
|
485
487
|
...baseClientConfig.plugins,
|
|
486
488
|
new StyleLintPlugin({
|
|
487
|
-
configFile: `${paths.appPath}/.stylelintrc`,
|
|
489
|
+
configFile: `${paths.appPath}/.stylelintrc.json`,
|
|
488
490
|
extensions: ['less'],
|
|
489
491
|
exclude: ['node_modules', 'coverage'],
|
|
490
492
|
}),
|