Config projet React / Flask, build par Webpack
.gitignore
0 → 100644
babel.config.js
0 → 100644
File added
package.json
0 → 100644
{ | ||
"name": "vizsources", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"repository": "https://gitlab.huma-num.fr/portic/vizsources", | ||
"author": "Bernard Pradines <bernard.pradines@univ-poitiers.fr>", | ||
"license": "UNLICENSED", | ||
"private": true, | ||
"scripts": { | ||
"dev": "webpack --mode development", | ||
"watch": "webpack --mode development --watch", | ||
"build": "webpack --mode production" | ||
}, | ||
"dependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/preset-env": "^7.16.4", | ||
"@babel/preset-react": "^7.16.0", | ||
"babel-loader": "^8.2.3", | ||
"css-loader": "^6.5.1", | ||
"file-loader": "^6.2.0", | ||
"style-loader": "^3.3.1", | ||
"webpack": "^5.65.0", | ||
"webpack-cli": "^4.9.1", | ||
"webpack-dev-server": "^4.6.0" | ||
} | ||
} |
requirements.txt
0 → 100644
This diff is collapsed.
static/jsx/HelloWorld.jsx
0 → 100644
static/jsx/index.js
0 → 100644
templates/index.html
0 → 100644
vizsources.py
0 → 100644
webpack.config.js
0 → 100644
yarn.lock
0 → 100644
This diff is collapsed.
Please register or sign in to comment