diff --git a/README.md b/README.md index 2ae1a7d..3688445 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,22 @@ # varkeeper + ![npm](https://img.shields.io/npm/v/varkeeper) ![NPM](https://img.shields.io/npm/l/varkeeper) ![npm](https://img.shields.io/npm/dw/varkeeper) [![node-current](https://img.shields.io/node/v/varkeeper)](https://www.npmjs.com/package/varkeeper) - ![npm](https://img.shields.io/npm/v/varkeeper) ![NPM](https://img.shields.io/npm/l/varkeeper) ![npm](https://img.shields.io/npm/dw/varkeeper) +[![NPM](https://nodei.co/npm/varkeeper.png)](https://www.npmjs.com/package/varkeeper) + +## Desciption +varkeeper is A tool for handle vars global + +## Usage + +### Installation + +You can colormizer install using [npm](https://www.npmjs.com/package/varkeeper) or [yarn](https://yarnpkg.com/package/varkeeper). + +``` +npm install varkeeper +``` +``` +yarn add varkeeper +``` \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 05eafd0..5302e4e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -8,9 +8,10 @@ gulp.task('build', function(done) { gulp.src(Src) .pipe(minify({ ext:{ - src:'-debug.js', + min:'.js' }, + noSource: true, exclude: ['tasks'], ignoreFiles: ['.combo.js', '-min.js'] })) diff --git a/package.json b/package.json index 2f3b202..1d2cc3f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "varkeeper", - "version": "1.0.1", - "description": "varkeeper is A tool for handle vars global in every module", + "version": "1.0.3", + "description": "varkeeper is A tool for handle vars global ", "main": "dist/index.js", "files": [ "dist", @@ -19,7 +19,7 @@ "scripts": { "test": "mocha", "build": "gulp build", - "publish": "npm publish --access publish" + "publish": "npm run build && npm publish --access publish" }, "repository": "git+https://github.com/lucaspalomodevelop/varkeeper.git", "keywords": [ @@ -33,5 +33,7 @@ "bugs": { "url": "https://github.com/lucaspalomodevelop/varkeeper/issues" }, - "homepage": "https://github.com/lucaspalomodevelop/varkeeper#readme" -} + "homepage": "https://github.com/lucaspalomodevelop/varkeeper#readme", + "engines": { + "node": ">=4.0.0" + }} diff --git a/src/index.js b/src/index.js index 174632b..94a0d49 100644 --- a/src/index.js +++ b/src/index.js @@ -60,7 +60,6 @@ function setprop(name, value) { on_function('create', name, value); } - } function getEventsFromTypeAndName(name, type) {