更新依赖
parent
72fe8f3af1
commit
70815e276e
|
@ -44,11 +44,15 @@ const vueRule = {
|
||||||
|
|
||||||
exports.base = {
|
exports.base = {
|
||||||
extends: ['standard'],
|
extends: ['standard'],
|
||||||
plugins: ['html'],
|
|
||||||
rules: baseRule,
|
rules: baseRule,
|
||||||
parser: '@babel/eslint-parser',
|
parser: '@babel/eslint-parser',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exports.html = {
|
||||||
|
files: ['*.html'],
|
||||||
|
plugins: ['html'],
|
||||||
|
}
|
||||||
|
|
||||||
exports.typescript = {
|
exports.typescript = {
|
||||||
files: ['*.ts'],
|
files: ['*.ts'],
|
||||||
rules: typescriptRule,
|
rules: typescriptRule,
|
||||||
|
|
|
@ -12,6 +12,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
ignorePatterns: [
|
ignorePatterns: [
|
||||||
|
'node_modules',
|
||||||
|
'*.min.js',
|
||||||
'dist',
|
'dist',
|
||||||
'build',
|
'build',
|
||||||
],
|
],
|
||||||
|
|
|
@ -9,8 +9,6 @@ module.exports = {
|
||||||
'eslint-plugin-n',
|
'eslint-plugin-n',
|
||||||
'@types/ws',
|
'@types/ws',
|
||||||
'eslint-config-standard-with-typescript',
|
'eslint-config-standard-with-typescript',
|
||||||
'@typescript-eslint/eslint-plugin',
|
|
||||||
'@typescript-eslint/parser',
|
|
||||||
],
|
],
|
||||||
|
|
||||||
// target: 'newest',
|
// target: 'newest',
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
|
@ -218,8 +218,6 @@
|
||||||
"@types/needle": "^3.2.0",
|
"@types/needle": "^3.2.0",
|
||||||
"@types/tunnel": "^0.0.3",
|
"@types/tunnel": "^0.0.3",
|
||||||
"@types/ws": "8.5.4",
|
"@types/ws": "8.5.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
||||||
"@typescript-eslint/parser": "^5.62.0",
|
|
||||||
"@volar/vue-language-plugin-pug": "^1.6.5",
|
"@volar/vue-language-plugin-pug": "^1.6.5",
|
||||||
"@vue/language-plugin-pug": "^1.8.8",
|
"@vue/language-plugin-pug": "^1.8.8",
|
||||||
"babel-loader": "^9.1.3",
|
"babel-loader": "^9.1.3",
|
||||||
|
@ -227,7 +225,7 @@
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"changelog-parser": "^3.0.1",
|
"changelog-parser": "^3.0.1",
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
"copy-webpack-plugin": "^11.0.0",
|
||||||
"core-js": "^3.32.0",
|
"core-js": "^3.32.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"css-loader": "^6.8.1",
|
"css-loader": "^6.8.1",
|
||||||
"css-minimizer-webpack-plugin": "^5.0.1",
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
||||||
|
@ -236,16 +234,13 @@
|
||||||
"electron-builder": "^24.6.3",
|
"electron-builder": "^24.6.3",
|
||||||
"electron-debug": "^3.2.0",
|
"electron-debug": "^3.2.0",
|
||||||
"electron-devtools-installer": "^3.2.0",
|
"electron-devtools-installer": "^3.2.0",
|
||||||
"electron-to-chromium": "^1.4.494",
|
"electron-to-chromium": "^1.4.496",
|
||||||
"electron-updater": "^6.1.4",
|
"electron-updater": "^6.1.4",
|
||||||
"eslint": "^8.47.0",
|
"eslint": "^8.47.0",
|
||||||
"eslint-config-standard": "^17.1.0",
|
"eslint-config-standard": "^17.1.0",
|
||||||
"eslint-config-standard-with-typescript": "^35.0.0",
|
"eslint-config-standard-with-typescript": "^35.0.0",
|
||||||
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
|
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
|
||||||
"eslint-plugin-html": "^7.1.0",
|
"eslint-plugin-html": "^7.1.0",
|
||||||
"eslint-plugin-import": "^2.28.0",
|
|
||||||
"eslint-plugin-n": "^15.7.0",
|
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
|
||||||
"eslint-plugin-vue": "^9.17.0",
|
"eslint-plugin-vue": "^9.17.0",
|
||||||
"eslint-plugin-vue-pug": "^0.6.0",
|
"eslint-plugin-vue-pug": "^0.6.0",
|
||||||
"eslint-webpack-plugin": "^4.0.1",
|
"eslint-webpack-plugin": "^4.0.1",
|
||||||
|
@ -279,7 +274,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@simonwep/pickr": "^1.8.2",
|
"@simonwep/pickr": "^1.8.2",
|
||||||
"better-sqlite3": "^8.5.0",
|
"better-sqlite3": "^8.5.1",
|
||||||
"bufferutil": "^4.0.7",
|
"bufferutil": "^4.0.7",
|
||||||
"comlink": "~4.3.1",
|
"comlink": "~4.3.1",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
/* eslint-env node */
|
/* eslint-env node */
|
||||||
const { base, typescript, vue } = require('../../.eslintrc.base.cjs')
|
const { base, html, typescript, vue } = require('../../.eslintrc.base.cjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
...base,
|
...base,
|
||||||
overrides: [
|
overrides: [
|
||||||
|
html,
|
||||||
vue,
|
vue,
|
||||||
{
|
{
|
||||||
...typescript,
|
...typescript,
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
/* eslint-env node */
|
/* eslint-env node */
|
||||||
const { base, typescript, vue } = require('../../.eslintrc.base.cjs')
|
const { base, html, typescript, vue } = require('../../.eslintrc.base.cjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
...base,
|
...base,
|
||||||
overrides: [
|
overrides: [
|
||||||
|
html,
|
||||||
vue,
|
vue,
|
||||||
{
|
{
|
||||||
...typescript,
|
...typescript,
|
||||||
|
|
Loading…
Reference in New Issue