Skip to content

Commit

Permalink
Merge pull request #19 from Turbo87/package-json
Browse files Browse the repository at this point in the history
Update "package.json" file
  • Loading branch information
rwjblue authored Jul 10, 2017
2 parents b567e39 + 3ea29f2 commit e21f7a0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
module.exports = {
name: 'ember-cli-uglify',

included: function(app) {
this._super.included.apply(this,arguments);
included(app) {
this._super.included.apply(this, arguments);

const defaults = require('lodash.defaultsdeep');

Expand Down Expand Up @@ -45,7 +45,7 @@ module.exports = {
return true;
},

postprocessTree: function(type, tree) {
postprocessTree(type, tree) {
if (this._options.enabled === true && type === 'all') {
return require('broccoli-uglify-sourcemap')(tree, this._options);
} else {
Expand Down
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,32 @@
"name": "ember-cli-uglify",
"version": "1.2.0",
"description": "JavaScript minification for Ember-CLI",
"keywords": [
"ember-addon"
],
"homepage": "https://github.com/ember-cli/ember-cli-uglify#readme",
"bugs": {
"url": "https://github.com/ember-cli/ember-cli-uglify/issues"
},
"license": "MIT",
"author": "",
"repository": {
"type": "git",
"url": "git+https://github.com/ember-cli/ember-cli-uglify.git"
},
"scripts": {
"start": "ember server",
"build": "ember build",
"start": "ember server",
"test": "ember test"
},
"repository": {
"type": "git",
"url": "https://github.com/ember-cli/ember-cli-uglify.git"
"dependencies": {
"broccoli-uglify-sourcemap": "^2.0.0-beta.1",
"lodash.defaultsdeep": "^4.6.0"
},
"engines": {
"node": ">= 0.12"
"node": "^4.5 || 6.* || >= 7.*"
},
"author": "",
"license": "MIT",
"keywords": [
"ember-addon"
],
"ember-addon": {
"before": "broccoli-asset-rev"
},
"dependencies": {
"broccoli-uglify-sourcemap": "^2.0.0-beta.1",
"lodash.defaultsdeep": "^4.6.0"
}
}

0 comments on commit e21f7a0

Please sign in to comment.