Skip to content

Commit

Permalink
Merge branch 'better'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Sander committed Feb 23, 2021
2 parents cd763e4 + 626e2bd commit 17f6370
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 1.0.2

- reduced bundle size
- added testing script
9 changes: 2 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
'use strict';

console.shit = function shit() {
console.log('SHIT');
};

export default console.shit;
c = console;
c.shit = function shit() { c.log('SHIT'); };
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "console.shit",
"version": "1.0.1",
"version": "1.0.2",
"description": "Logs \"shit\" to the console",
"main": "main.js",
"typings": "typings.d.ts",
Expand All @@ -14,5 +14,8 @@
"email": "[email protected]"
},
"license": "MIT",
"devDependencies": {}
"devDependencies": {},
"scripts": {
"test": "node test.mjs"
}
}
3 changes: 3 additions & 0 deletions test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './main.js';

console.shit();

0 comments on commit 17f6370

Please sign in to comment.