Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Oct 17, 2020
1 parent eaea272 commit 913b897
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down
4 changes: 2 additions & 2 deletions base64.js
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 913b897

Please sign in to comment.