From 05b8d0b45c421a033542bb8b1c1a5f6b2c0b8967 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 27 Apr 2017 10:23:01 +0000 Subject: [PATCH] Added Travis deployment for npm. --- .gitignore | 1 + .npmignore | 7 +++++++ .travis.yml | 9 +++++++++ package.json | 3 ++- 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 .npmignore diff --git a/.gitignore b/.gitignore index 570ea499..deafd4da 100755 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules npm-debug.log +travis.log build docs/* !docs/*.conf.json diff --git a/.npmignore b/.npmignore new file mode 100755 index 00000000..ba770062 --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +node_modules +npm-debug.log +travis.log +build/* +!build/node +docs +.vscode diff --git a/.travis.yml b/.travis.yml index 5e3ffdf8..28f9171f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,3 +30,12 @@ deploy: on: repo: gchq/CyberChef tags: true + - provider: npm + skip_cleanup: true + email: "n1474335@gmail.com" + api_key: + secure: "Z3FK6bm4RfQEIRXZ1lBNzQkVIoHpivThr9U+XBHmsBgIfdrK/XUnzs/slugo+NIz8nPiGmMx4gxyJonBCLHDGb1ysky2aEWTl26c0teaF4DeQEjWC1ZaGzv8MV1/GkUamnr1qouXjyUhyEAp33rd8ccN9Rq3QNYB/qLDcA9/FCme7JCW6sCd4zWO0LGEYMJEMc2FzAUkqhqsI05hegGhSDgKXRn5PmLARek4yHD+Hx7pstaTeQIy0WoGJjdzoB3iJIMmo/hWZGzZafktUOh223c5qzx4zMpDRNmMngBUw6R94nKd4KvplYRgB87Y3L/aiVU4CF+axwLmK8RPaC1wbJnlHf06zxHPdiFmsY/zKPpNel+nOnxzRrF5l2KMU4TU6gug3s9Jnzp9T5UMfhp0jW3YkxHGeuOPOeE1i0lTUWUGWrPHLQquAhLfkr2zxaU4ETk/y85hq9W4LAy0ENEDVXX2jP7FnI4Z1fdpmljpmVNJR+outPg6t+Coqgvil7v7XpMtDm8lKQanVYuxwmkb/ncOWFRWuM2j5zIEg3CHnFDcJ9bYrfKRg0b0tb/2BWD14pQnV76goVwzJQYVzdPc8TKIYJw2BZ1Nh9c0iruQVebe/6l1FX9fDCkz8VMmltni61/LxZrf8y0NT1YaU1raeNY2dH5UWvEa9p72FPMI6Eg=" + on: + tags: true + branch: master + diff --git a/package.json b/package.json index 33effaec..7e239980 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cyberchef", "version": "5.2.3", - "description": "CyberChef is a simple, intuitive web app for analysing and decoding data within a web browser.", + "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.", "author": "n1474335 ", "homepage": "https://gchq.github.io/CyberChef", "copyright": "Crown copyright 2016", @@ -25,6 +25,7 @@ "type": "git", "url": "https://github.com/gchq/CyberChef/" }, + "main": "build/node/CyberChef.js", "devDependencies": { "babel-core": "^6.24.0", "babel-loader": "^6.4.0",