From 77724afccdc8de2ddf8ae919c36e22fcbd4f8ad4 Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Sat, 13 Mar 2021 12:15:29 +0100 Subject: [PATCH] build script --- client/.gitignore | 1 + client/package-lock.json | 2 +- client/package.json | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 client/.gitignore diff --git a/client/.gitignore b/client/.gitignore new file mode 100644 index 0000000..1521c8b --- /dev/null +++ b/client/.gitignore @@ -0,0 +1 @@ +dist diff --git a/client/package-lock.json b/client/package-lock.json index de0852d..92fce25 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,6 +1,6 @@ { "name": "jean-cloud-contact-mailer-client", - "version": "1.0.0", + "version": "1.1.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/client/package.json b/client/package.json index 8ef64e9..f7d03df 100644 --- a/client/package.json +++ b/client/package.json @@ -6,11 +6,13 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prepublishOnly": "npm-auto-version", - "postpublish": "git push origin --tags" + "postpublish": "git push origin --tags", + "build": "mkdir -p dist && cp index.js style.css dist" }, "author": "", "license": "ISC", "dependencies": { "npm-auto-version": "^1.0.0" - } -} \ No newline at end of file + }, + "devDependencies": {} +}