-
- Downloads
partie C
Showing
- index.html 1 addition, 1 deletionindex.html
- package-lock.json 1118 additions, 5 deletionspackage-lock.json
- package.json 7 additions, 3 deletionspackage.json
- src/Component.js 16 additions, 0 deletionssrc/Component.js
- src/Img.js 13 additions, 0 deletionssrc/Img.js
- src/data.js 25 additions, 0 deletionssrc/data.js
- src/main.js 3 additions, 53 deletionssrc/main.js
- webpack.config.js 27 additions, 0 deletionswebpack.config.js
This diff is collapsed.
... | ... | @@ -5,8 +5,9 @@ |
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "babel src -d build", | ||
"watch": "./node_modules/.bin/babel src -d build --verbose --watch --source-maps" | ||
"build": "webpack --mode=production", | ||
"watch": "webpack --mode=development --watch" | ||
}, | ||
"author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | ||
"homepage": "https://gitlab.univ-lille.fr/js", | ||
... | ... | @@ -16,6 +17,9 @@ |
"@babel/core": "^7.12.10", | ||
"@babel/plugin-proposal-class-properties": "^7.12.1", | ||
"@babel/preset-env": "^7.12.11", | ||
"prettier": "^2.2.1" | ||
"babel-loader": "^8.2.2", | ||
"prettier": "^2.2.1", | ||
"webpack": "^5.19.0", | ||
"webpack-cli": "^4.4.0" | ||
} | ||
} |
src/Component.js
0 → 100644
src/Img.js
0 → 100644
src/data.js
0 → 100644
webpack.config.js
0 → 100644
Please register or sign in to comment