
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ys-react-config
Advanced tools
此react配置包含如下: **1.react react-dom** **2.react-router-dom** **3.@reduxjs/toolkit(react-redux和react-thunk)**
此react配置包含如下:
1.react react-dom
2.react-router-dom
3.@reduxjs/toolkit(react-redux和react-thunk)
npm init -y
npm install --save-dev ys-webpack-config
npm install --save ys-react-config
"scripts": {
"start": "yang start",
"start:open": "yang start --open",
"build": "yang build",
"create": "yang createDir",
},
"engines": {
"node": ">=10.13.0"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
默认单页面配置,取示例index配置,请确保入口文件及模板存在
1.项目根目录下新增webpack.config.js
2.暴露entry入口(多个入口则生成多页面)
module.exports = {
entry: {
index: {
import: './src/index.js',
template: './public/index.html'
},
a: {
import: './src/a.js',
template: './public/a.html'
}
}
}
npm run create
npm run start:open
FAQs
此react配置包含如下: **1.react react-dom** **2.react-router-dom** **3.@reduxjs/toolkit(react-redux和react-thunk)**
We found that ys-react-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.