made npm script work without yarn

This commit is contained in:
Kim, Jimin 2022-12-03 19:23:20 +09:00
parent 6100bf3b3d
commit c8b06139d3

View file

@ -2,9 +2,9 @@
"private": true, "private": true,
"scripts": { "scripts": {
"generate": "ts-node -O '{\"module\":\"commonjs\"}' --files ./generate", "generate": "ts-node -O '{\"module\":\"commonjs\"}' --files ./generate",
"start": "yarn generate && react-scripts start", "start": "npm run generate && react-scripts start",
"quick-start": "react-scripts start", "quick-start": "react-scripts start",
"build": "yarn generate && react-scripts build" "build": "npm run generate && react-scripts build"
}, },
"resolutions": { "resolutions": {
"@types/react": "18.0.20" "@types/react": "18.0.20"