From 7ef9b722c32a2434de9afb0de26aafa3c998b29f Mon Sep 17 00:00:00 2001 From: Alban Bronisz Date: Wed, 17 Mar 2021 19:55:42 +0100 Subject: [PATCH] Update package --- README.md | 8 ++++++++ package-lock.json | 12 ++++++------ package.json | 5 ++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9fd1b70..2f8e2be 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Install ======= + npm install . @@ -11,3 +12,10 @@ Build npm run dev +Dev +=== + +AJouter un nouveau paquet pour la compilation : + + npm install --save-dev XXX + diff --git a/package-lock.json b/package-lock.json index 14392fa..b5a0c46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1027,9 +1027,9 @@ "dev": true }, "terser": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.6.0.tgz", - "integrity": "sha512-vyqLMoqadC1uR0vywqOZzriDYzgEkNJFK4q9GeyOBHIbiECHiWLKcWfbQWAUaPfxkjDhapSlZB9f7fkMrvkVjA==", + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.6.1.tgz", + "integrity": "sha512-yv9YLFQQ+3ZqgWCUk+pvNJwgUTdlIxUk1WTN+RnaFJe2L7ipG2csPT0ra2XRm7Cs8cxN7QXmK1rFzEwYEQkzXw==", "dev": true, "requires": { "commander": "^2.20.0", @@ -1102,9 +1102,9 @@ } }, "webpack": { - "version": "5.26.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.26.2.tgz", - "integrity": "sha512-h07tAPeQceEO3Idrevqv4ECcpMH8Zp0aUUJ+IytujWTVf6TF5PI3rKVw0Z+7rNjU4qJuEx18BykFxgRvR9VgEQ==", + "version": "5.26.3", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.26.3.tgz", + "integrity": "sha512-z/F2lt2N1fZqaud1B4SzjL3OW03eULThbBXQ2OX4LSrZX4N9k1A5d0Rje3zS2g887DTWyAV0KGqEf64ois2dhg==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", diff --git a/package.json b/package.json index 63e18ea..6d2cf24 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,10 @@ "description": "", "main": "./bundle.js", "scripts": { - "dev": "webpack --mode='development'", - "prod": "webpack" + "dev": "webpack --mode development", + "prod": "webpack --mode production" }, "author": "", - "license": "ISC", "devDependencies": { "css-loader": "^5.1.3", "webpack": "^5.26.2",