Update package.json

The previous version was not working. With this change to the package.json, it is now working.
This commit is contained in:
Harrison Hemstreet 2023-12-12 14:29:15 -07:00 committed by GitHub
parent 5e5af013f8
commit a6ce64ef99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,9 @@
{
"name": "monaco-esm-webpack-typescript",
"scripts": {
"start": "node ../node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"build": "NODE_ENV='production' node ../node_modules/webpack/bin/webpack.js --progress"
"start": "webpack serve",
"build": "NODE_ENV='production' webpack --progress"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.11",
@ -14,8 +13,18 @@
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"babel-loader": "^8.2.3",
"css-loader": "^6.8.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-refresh": "^0.11.0"
"react-refresh": "^0.11.0",
"style-loader": "^3.3.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"dependencies": {
"monaco-editor": "^0.45.0",
"webpack": "^5.89.0"
}
}