Skip to content

Commit 17f6370

Browse files
author
Andre Sander
committed
Merge branch 'better'
2 parents cd763e4 + 626e2bd commit 17f6370

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# 1.0.2
2+
3+
- reduced bundle size
4+
- added testing script

main.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
'use strict';
2-
3-
console.shit = function shit() {
4-
console.log('SHIT');
5-
};
6-
7-
export default console.shit;
1+
c = console;
2+
c.shit = function shit() { c.log('SHIT'); };

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "console.shit",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Logs \"shit\" to the console",
55
"main": "main.js",
66
"typings": "typings.d.ts",
@@ -14,5 +14,8 @@
1414
"email": "hello@andresander.com"
1515
},
1616
"license": "MIT",
17-
"devDependencies": {}
17+
"devDependencies": {},
18+
"scripts": {
19+
"test": "node test.mjs"
20+
}
1821
}

test.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import './main.js';
2+
3+
console.shit();

0 commit comments

Comments
 (0)