Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "package.json" file and remove Node 0.12 support #19

Merged
merged 4 commits into from
Jul 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}