Move to python for generating frontend files, no need for Node or extra packages
... | ... | @@ -4,7 +4,7 @@ |
"description": "[](https://gitlab.utc.fr/chehabfl/outgoing_rex/pipelines) [](https://chehabfl.gitlab.utc.fr/outgoing_rex/) [](https://opensource.org/licenses/BSD-2-Clause)", | ||
"main": "manage.py", | ||
"scripts": { | ||
"gen": "node ./frontend/generate/generate_frontend_files.js", | ||
"gen": "python ./frontend/generate/generate_frontend_files.py", | ||
"dev": "npm run gen && webpack --mode development ./frontend/src/index.js --output ./frontend/static/frontend/main.js", | ||
"build": "npm run gen && webpack --mode production ./frontend/src/index.js --output ./frontend/static/frontend/main.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
... | ... | @@ -46,7 +46,6 @@ |
"react-script": "^2.0.5", | ||
"recharts": "^1.1.0", | ||
"redux-devtools": "^3.4.1", | ||
"swig": "^1.4.2", | ||
"weak-key": "^1.0.1", | ||
"webpack": "^4.17.0", | ||
"webpack-cli": "^3.1.0" | ||
... | ... |
Please register or sign in to comment