From 913b89753d99362855c71c02d04384d1d1a9c2fd Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 17 Oct 2020 18:40:14 +0200 Subject: [PATCH] Release v1.0.0 --- Gruntfile.js | 2 +- base64.js | 4 ++-- package.json | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index aeb7c41..1c7fb41 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,7 +14,7 @@ module.exports = function(grunt) { 'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && coveralls < coverage/lcov.info; rm -rf coverage/lcov*' }, 'test-node': { - 'command': 'echo "Testing in Node..."; node "tests/tests.js"' + 'command': 'echo "Testing in Node..."; npm test' }, 'test-browser': { 'command': 'echo "Testing in a browser..."; open "tests/index.html"; open "tests/index.html?norequire=true"' diff --git a/base64.js b/base64.js index 8bd66f8..0b335e5 100644 --- a/base64.js +++ b/base64.js @@ -1,4 +1,4 @@ -/*! https://mths.be/base64 v0.1.0 by @mathias | MIT license */ +/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */ ;(function(root) { // Detect free variables `exports`. @@ -136,7 +136,7 @@ var base64 = { 'encode': encode, 'decode': decode, - 'version': '0.1.0' + 'version': '1.0.0' }; // Some AMD build optimizers, like r.js, check for specific condition patterns diff --git a/package.json b/package.json index 3334c7d..479b0a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "base-64", - "version": "0.1.0", + "version": "1.0.0", "description": "A robust base64 encoder/decoder that is fully compatible with `atob()` and `btoa()`, written in JavaScript.", "homepage": "https://mths.be/base64", "main": "base64.js", @@ -27,11 +27,13 @@ "base64.js" ], "scripts": { - "test": "mocha tests/tests.js" + "test": "mocha tests/tests.js", + "build": "grunt build" }, "devDependencies": { "coveralls": "^2.11.4", "grunt": "^0.4.5", + "grunt-cli": "^1.3.2", "grunt-shell": "^1.1.2", "grunt-template": "^0.2.3", "istanbul": "^0.4.0",