chore(deps): Upgrade kkt v7 & eslint v8.

pull/336/head
jaywcjlove 3 years ago
parent b9bca9d32a
commit da1bf763b8

@ -1 +1,3 @@
dist dist
node_modules
coverage

@ -1,5 +1,4 @@
{ {
"parser": "babel-eslint",
"extends": "airbnb", "extends": "airbnb",
"env": { "env": {
"browser": true, "browser": true,
@ -61,6 +60,9 @@
"react/no-did-mount-set-state": 0 "react/no-did-mount-set-state": 0
}, },
"parserOptions": { "parserOptions": {
"parser": "@babel/eslint-parser",
"requireConfigFile": false,
"ecmaVersion": 8,
"ecmaFeatures": { "ecmaFeatures": {
"experimentalObjectRestSpread": true "experimentalObjectRestSpread": true
} }

@ -28,10 +28,10 @@ export default (conf, env, options) => {
name: 'react-vendor', name: 'react-vendor',
chunks: 'all', chunks: 'all',
}, },
prismjs: { refractor: {
test: /[\\/]node_modules[\\/](prismjs)[\\/]/, test: /[\\/]node_modules[\\/](refractor)[\\/]/,
name: 'prismjs-vendor', name: 'refractor-vendor',
chunks: 'async', chunks: 'all',
}, },
}, },
}, },

44997
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -50,35 +50,35 @@
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"@kkt/less-modules": "6.9.0", "@babel/eslint-parser": "7.17.0",
"@kkt/raw-modules": "6.9.0", "@kkt/less-modules": "7.1.0",
"@kkt/scope-plugin-options": "6.9.0", "@kkt/raw-modules": "7.1.0",
"@uiw/react-github-corners": "1.4.0", "@kkt/scope-plugin-options": "7.1.0",
"@uiw/react-mac-keyboard": "1.0.5", "@uiw/react-github-corners": "1.5.3",
"@uiw/react-markdown-preview": "3.1.1", "@uiw/react-mac-keyboard": "1.1.3",
"@uiw/react-shields": "1.1.1", "@uiw/react-markdown-preview": "3.4.7",
"@uiw/react-shields": "1.1.2",
"@uiw/reset.css": "1.0.4", "@uiw/reset.css": "1.0.4",
"babel-eslint": "10.1.0",
"bannerjs": "1.0.7", "bannerjs": "1.0.7",
"classnames": "2.3.1", "classnames": "2.3.1",
"colors-cli": "1.0.27", "colors-cli": "1.0.27",
"eslint": "7.28.0", "eslint": "8.8.0",
"eslint-config-airbnb": "18.2.1", "eslint-config-airbnb": "19.0.4",
"eslint-plugin-import": "2.23.4", "eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.24.0", "eslint-plugin-react": "7.28.0",
"husky": "4.2.3", "husky": "4.2.3",
"kkt": "6.9.0", "kkt": "7.1.0",
"jest": "27.0.4", "jest": "27.0.4",
"puppeteer": "10.0.0", "puppeteer": "10.0.0",
"react": "17.0.2", "react": "17.0.2",
"react-dom": "17.0.2", "react-dom": "17.0.2",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"rollup": "2.51.1", "rollup": "2.67.1",
"@rollup/plugin-babel": "5.3.0", "@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "19.0.0", "@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-node-resolve": "13.0.0", "@rollup/plugin-node-resolve": "13.1.3",
"uglify-js": "3.13.9", "uglify-js": "3.15.1",
"zlib": "1.0.5" "zlib": "1.0.5"
}, },
"browserslist": { "browserslist": {

Loading…
Cancel
Save