package。json内容和视频不一样,没有找到视频中的依赖

来源:10-5 【概念理解】什么是redux-toolkit

weixin_慕丝2377090

2022-04-24

{
“name”: “rtk-monorepo”,
“private”: true,
“description”: “The official, opinionated, batteries-included toolset for efficient Redux development”,
“author”: “Mark Erikson mark@isquaredsoftware.com”,
“license”: “MIT”,
“repository”: {
“type”: “git”,
“url”: “git+https://github.com/reduxjs/redux-toolkit.git”
},
“bugs”: {
“url”: “https://github.com/reduxjs/redux-toolkit/issues
},
“homepage”: “https://redux-toolkit.js.org”,
“directories”: {
“example”: “example”
},
“workspaces”: [
“packages/",
“docs”,
“website”,
"examples/query/react/
”,
“examples/action-listener/"
],
“devDependencies”: {
“eslint”: “^7.25.0”,
“eslint-config-prettier”: “^8.3.0”,
“eslint-config-react-app”: “^5.0.1”,
“eslint-plugin-flowtype”: “^5.7.2”,
“eslint-plugin-import”: “^2.22.1”,
“eslint-plugin-jsx-a11y”: “^6.4.1”,
“eslint-plugin-prettier”: “^3.4.0”,
“eslint-plugin-react”: “^7.23.2”,
“eslint-plugin-react-hooks”: “^4.2.0”,
“netlify-plugin-cache”: “^1.0.3”,
“prettier”: “^2.2.1”,
“release-it”: “^14.12.5”
},
“resolutions”: {
“react-scripts”: “patch:react-scripts@npm:4.0.2#.yarn/patches/react-scripts__npm_4.0.2.patch”,
“console-testing-library”: “patch:console-testing-library@npm:0.3.1#.yarn/patches/console-testing-library__npm_0.3.1.patch”,
“react-redux”: “npm:7.2.4”,
“react”: “npm:17.0.2”,
“react-dom”: “npm:17.0.2”
},
“scripts”: {
“build”: “yarn build:packages”,
“test”: “yarn test:packages”,
“build:examples”: "yarn workspaces foreach --include '@reduxjs/
’ --include ‘@examples-query-react/’ --include '@examples-action-listener/’ -vtp run build”,
“build:docs”: “yarn workspace website run build”,
“build:packages”: “yarn workspaces foreach --include ‘@reduxjs/’ --include '@rtk-query/’ --topological-dev run build”,
“test:packages”: “yarn workspaces foreach --include ‘@reduxjs/’ --include '@rtk-query/’ --include ‘@rtk-incubator/*’ run test”,
“dev:docs”: “yarn workspace website run start”
}
}

写回答

1回答

阿莱克斯刘

2022-04-24

为什么与视频不一样呢?

0
0

React18 系统精讲 结合TS打造旅游电商平台

React18 精讲 + 结合 TS 实战 + 热门业务开发,获取必备技能

1993 学习 · 1015 问题

查看课程