yet-another-js-utils 0.0.1 → 0.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/gruntfile.js CHANGED
@@ -15,7 +15,7 @@ module.exports = function(grunt) {
15
15
  },
16
16
  watch: {
17
17
  devBuild: {
18
- files: ['app.js', 'js/*.js'],
18
+ files: ['main.js', 'js/*.js'],
19
19
  tasks: ['esbuild:dev', 'exec:mocha'],
20
20
  options: {
21
21
  livereload: true
@@ -39,8 +39,8 @@ module.exports = function(grunt) {
39
39
  buildFunction: require('esbuild').build
40
40
  },
41
41
  prod: {
42
- entryPoints: ['app.js'],
43
- outfile: './dist/client.min.js',
42
+ entryPoints: ['main.js'],
43
+ outfile: './dist/yaju.min.js',
44
44
  bundle: true,
45
45
  minify: true
46
46
  },
package/js-utils.js CHANGED
@@ -1,4 +1,5 @@
1
- module.exports = {
1
+ module.exports =
2
+ (function () { return {
2
3
  // # Nil
3
4
 
4
5
  // I like the NOT operator
@@ -296,4 +297,5 @@ module.exports = {
296
297
  pipe(input, ...functions) {
297
298
  return functions.reduce((res, fun) => fun(res), input);
298
299
  }
299
- };
300
+ }
301
+ });
package/main.js CHANGED
@@ -1,3 +1,3 @@
1
1
  (function () {
2
- window.Damon = require('./js-utils.js');
2
+ window.yaju = require('./js-utils.js');
3
3
  })();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "yet-another-js-utils",
3
3
  "description": "Basic javascript utils",
4
4
  "authors": "Adrian Turcev",
5
- "version": "0.0.1",
5
+ "version": "0.0.2",
6
6
  "license": "MPL-2.0",
7
7
  "homepage": "https://github.com/adrianturcev/js-utils",
8
8
  "repository": {