chore: 整理项目依赖并升级webpack

pull/81/head
moonrailgun 3 years ago
parent 91c98870da
commit 84354803c3

@ -1,2 +1,4 @@
# https://npmmirror.com/ # https://npmmirror.com/
registry = https://registry.npmmirror.com registry = https://registry.npmmirror.com
public-hoist-pattern[] = react
public-hoist-pattern[] = @types/react

@ -32,6 +32,7 @@
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^12.1.4", "@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4", "@commitlint/config-conventional": "^12.1.4",
"@types/node": "^15.12.5",
"@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1", "@typescript-eslint/parser": "^4.28.1",
"commitlint": "^12.1.4", "commitlint": "^12.1.4",
@ -50,10 +51,5 @@
"prettier": "^2.3.2", "prettier": "^2.3.2",
"typescript": "^4.5.2", "typescript": "^4.5.2",
"vinyl-fs": "^3.0.3" "vinyl-fs": "^3.0.3"
},
"dependencies": {
"crc": "^3.8.0",
"lodash": "^4.17.21",
"react": "17.0.2"
} }
} }

@ -24,6 +24,7 @@
"dependencies": { "dependencies": {
"@iconify/react": "^3.2.1", "@iconify/react": "^3.2.1",
"antd": "^4.19.5", "antd": "^4.19.5",
"lodash": "^4.17.21",
"meta-form": "^1.0.0" "meta-form": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -34,9 +35,12 @@
"@storybook/addon-links": "^6.4.22", "@storybook/addon-links": "^6.4.22",
"@storybook/react": "^6.4.22", "@storybook/react": "^6.4.22",
"@storybook/testing-library": "^0.0.11", "@storybook/testing-library": "^0.0.11",
"@types/lodash": "^4.14.170",
"babel-loader": "^8.2.5", "babel-loader": "^8.2.5",
"react": "17.0.2", "react": "17.0.2",
"react-dom": "17.0.2" "react-dom": "17.0.2",
"typescript": "^4.5.2",
"webpack": "^5.72.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "17.0.2", "react": "17.0.2",

@ -8,7 +8,9 @@
"prepare": "tsc", "prepare": "tsc",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"files": ["lib"], "files": [
"lib"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/msgbyte/tailchat.git" "url": "git+https://github.com/msgbyte/tailchat.git"
@ -26,11 +28,14 @@
}, },
"homepage": "https://github.com/msgbyte/tailchat#readme", "homepage": "https://github.com/msgbyte/tailchat#readme",
"devDependencies": { "devDependencies": {
"@types/lodash": "^4.14.170",
"@types/react": "^17.0.39",
"react": "17.0.2", "react": "17.0.2",
"typescript": "^4.5.2" "typescript": "^4.5.2"
}, },
"dependencies": { "dependencies": {
"formik": "^2.2.9", "formik": "^2.2.9",
"lodash": "^4.17.21",
"yup": "^0.32.9" "yup": "^0.32.9"
}, },
"peerDependencies": { "peerDependencies": {

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES5", "target": "ES5",
"lib": ["DOM"], "lib": ["DOM", "ES2015"],
"jsx": "react", "jsx": "react",
"outDir": "./lib", "outDir": "./lib",
"declaration": true, "declaration": true,

@ -24,7 +24,14 @@
"typescript": "^4.5.2" "typescript": "^4.5.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/types": "^7.17.10",
"@types/babel__generator": "^7.6.4",
"@types/babel__template": "^7.4.1",
"@types/babel__traverse": "^7.17.1",
"@types/fs-extra": "^9.0.13",
"@types/lodash": "^4.14.170",
"@types/mkdirp": "^1.0.2", "@types/mkdirp": "^1.0.2",
"@types/node": "^15.12.5",
"ts-node": "^10.0.0" "ts-node": "^10.0.0"
} }
} }

File diff suppressed because it is too large Load Diff

@ -30,7 +30,8 @@
}, },
"devDependencies": { "devDependencies": {
"@types/crc": "^3.4.0", "@types/crc": "^3.4.0",
"@types/lodash": "^4.14.170" "@types/lodash": "^4.14.170",
"react": "17.0.2"
}, },
"peerDependencies": { "peerDependencies": {
"react": "17.0.2", "react": "17.0.2",

@ -40,6 +40,7 @@
"p-min-delay": "^4.0.0", "p-min-delay": "^4.0.0",
"qs": "^6.10.3", "qs": "^6.10.3",
"rc-tree": "^5.3.6", "rc-tree": "^5.3.6",
"react": "17.0.2",
"react-dom": "17.0.2", "react-dom": "17.0.2",
"react-easy-crop": "^3.5.2", "react-easy-crop": "^3.5.2",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
@ -72,6 +73,7 @@
"@types/loadable__component": "^5.13.4", "@types/loadable__component": "^5.13.4",
"@types/mini-css-extract-plugin": "^1.4.3", "@types/mini-css-extract-plugin": "^1.4.3",
"@types/node": "^15.12.5", "@types/node": "^15.12.5",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.8", "@types/react-dom": "^17.0.8",
"@types/react-helmet": "^6.1.2", "@types/react-helmet": "^6.1.2",
"@types/react-mentions": "^4.1.5", "@types/react-mentions": "^4.1.5",
@ -112,7 +114,7 @@
"tsconfig-paths-webpack-plugin": "^3.5.1", "tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "^4.5.2", "typescript": "^4.5.2",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.58.2", "webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0", "webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1", "webpack-dev-server": "^4.3.1",

@ -9,6 +9,8 @@
"url-regex": "^5.0.0" "url-regex": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/react-highlight": "^0.12.5" "@types/react-highlight": "^0.12.5",
"react": "17.0.2",
"react-dom": "17.0.2"
} }
} }

@ -7,6 +7,7 @@
"react-canvas-draw": "^1.2.1" "react-canvas-draw": "^1.2.1"
}, },
"devDependencies": { "devDependencies": {
"@types/react-canvas-draw": "^1.1.1" "@types/react-canvas-draw": "^1.1.1",
"react": "17.0.2"
} }
} }

@ -6,5 +6,8 @@
"dependencies": { "dependencies": {
"genshin-gacha-kit": "^1.1.0", "genshin-gacha-kit": "^1.1.0",
"html-react-parser": "^1.4.5" "html-react-parser": "^1.4.5"
},
"devDependencies": {
"react": "17.0.2"
} }
} }

Loading…
Cancel
Save