easy-soft-develop 2.0.159 → 2.0.161

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": "easy-soft-develop",
3
- "version": "2.0.159",
3
+ "version": "2.0.161",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -87,7 +87,7 @@ module.exports = {
87
87
  plugins: [
88
88
  ...pluginCollection,
89
89
  ],
90
- parser: '@babel/eslint-parser',
90
+ parser: '@typescript-eslint/parser',
91
91
  parserOptions: parserOptions,
92
92
  rules: rules,
93
93
  settings: settings,
@@ -437,16 +437,7 @@ const pluginFile = {
437
437
  };
438
438
 
439
439
  const parserEmbedFileContent = `${fileGlobalHeader}
440
- const parserOptions = {
441
- requireConfigFile: false,
442
- babelOptions: {
443
- presets: ['@babel/preset-react'],
444
- plugins: [
445
- ['@babel/plugin-proposal-decorators', { legacy: true }],
446
- ['@babel/plugin-proposal-class-properties', { loose: true }],
447
- ],
448
- },
449
- };
440
+ const parserOptions = {};
450
441
 
451
442
  module.exports = {
452
443
  parserOptions: { ...parserOptions },
@@ -62,6 +62,10 @@ function getGlobalPackages() {
62
62
  'stylelint-config-standard',
63
63
  ]);
64
64
 
65
+ packages = packages.concat(['@typescript-eslint/parser']);
66
+
67
+ packages = packages.concat(['@types/node']);
68
+
65
69
  packages = packages.concat('rimraf', 'lint-staged', 'husky');
66
70
 
67
71
  packages = packages.concat('easy-soft-develop');