我的 React.js 应用程序是使用以下命令创建的:
npx create-react-app my-app
现在如何转换 package.json 中的此脚本部分以在没有反应脚本的情况下运行应用程序?
"scripts": {
"start": "NODE_ENV=development node_modules/react-scripts/bin/react-scripts.js start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
应该是这样的:
节点索引.js
如何转换该脚本部分中的每个选项? 谢谢