puppylog 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # puppylog
2
2
 
3
+ [On npm @ https://www.npmjs.com/package/puppylog](https://www.npmjs.com/package/puppylog)
4
+
3
5
  Coloured logging, ported to npm. Another useless file taken out of my projects!
4
6
 
5
7
  Essentially just a chalk wrapper.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puppylog",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Coloured logging, ported to npm. Another useless file taken out of my projects!",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -14,6 +14,9 @@
14
14
  "console",
15
15
  "colors"
16
16
  ],
17
+ "scripts": {
18
+ "test": "node src/tests/test.js"
19
+ },
17
20
  "author": "onlypuppy7",
18
21
  "license": "MIT",
19
22
  "dependencies": {
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import chalk from 'chalk';
2
2
 
3
- const log = {
3
+ export const log = {
4
4
  green: (...args) => console.log(chalk.green(...args)),
5
5
  red: (...args) => console.log(chalk.red(...args)),
6
6
  yellow: (...args) => console.log(chalk.yellow(...args)),
@@ -49,5 +49,4 @@ const log = {
49
49
  customBg: (message, color) => console.log(chalk.bgKeyword(color)(message))
50
50
  };
51
51
 
52
- export default log;
53
- export { log };
52
+ export default log;
Binary file