-
- Downloads
Partie C terminée
Showing
- .babelrc 3 additions, 1 deletion.babelrc
- index.html 1 addition, 1 deletionindex.html
- package-lock.json 1118 additions, 5 deletionspackage-lock.json
- package.json 6 additions, 3 deletionspackage.json
- src/components/Component.js 24 additions, 0 deletionssrc/components/Component.js
- src/components/Img.js 6 additions, 0 deletionssrc/components/Img.js
- src/data.js 27 additions, 0 deletionssrc/data.js
- src/main.js 7 additions, 64 deletionssrc/main.js
- watch/Component.js 2 additions, 0 deletionswatch/Component.js
- watch/Component.js.map 1 addition, 0 deletionswatch/Component.js.map
- watch/Img.js 2 additions, 0 deletionswatch/Img.js
- watch/Img.js.map 1 addition, 0 deletionswatch/Img.js.map
- watch/component.js 2 additions, 0 deletionswatch/component.js
- watch/component.js.map 1 addition, 0 deletionswatch/component.js.map
- watch/components/Component.js 48 additions, 0 deletionswatch/components/Component.js
- watch/components/Component.js.map 1 addition, 0 deletionswatch/components/Component.js.map
- watch/components/Img.js 39 additions, 0 deletionswatch/components/Img.js
- watch/components/Img.js.map 1 addition, 0 deletionswatch/components/Img.js.map
- watch/data.js 21 additions, 0 deletionswatch/data.js
- watch/data.js.map 1 addition, 0 deletionswatch/data.js.map
This diff is collapsed.
... | @@ -5,8 +5,8 @@ | ... | @@ -5,8 +5,8 @@ |
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "babel src -d build", | "build": "webpack --mode=production", | ||
"watch": "babel src -d watch --verbose --watch --source-maps" | "watch": "webpack --mode=development --watch" | ||
}, | }, | ||
"author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | "author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | ||
"homepage": "https://gitlab.univ-lille.fr/js", | "homepage": "https://gitlab.univ-lille.fr/js", | ||
... | @@ -16,6 +16,9 @@ | ... | @@ -16,6 +16,9 @@ |
"@babel/core": "^7.12.10", | "@babel/core": "^7.12.10", | ||
"@babel/plugin-proposal-class-properties": "^7.12.1", | "@babel/plugin-proposal-class-properties": "^7.12.1", | ||
"@babel/preset-env": "^7.12.11", | "@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/components/Component.js
0 → 100644
src/components/Img.js
0 → 100644
src/data.js
0 → 100644
watch/Component.js
0 → 100644
watch/Component.js.map
0 → 100644
watch/Img.js
0 → 100644
watch/Img.js.map
0 → 100644
watch/component.js
0 → 100644
watch/component.js.map
0 → 100644
watch/components/Component.js
0 → 100644
watch/components/Component.js.map
0 → 100644
watch/components/Img.js
0 → 100644
watch/components/Img.js.map
0 → 100644
watch/data.js
0 → 100644
watch/data.js.map
0 → 100644
Please register or sign in to comment