From ee110ad41e9880c964b7f5ff705294b0b4f9d9d5 Mon Sep 17 00:00:00 2001 From: David Brockman Smoliansky Date: Thu, 12 May 2016 17:39:14 +0200 Subject: [PATCH 1/3] fix: remove babel runtime transform --- .babelrc | 9 +-------- package.json | 4 +--- test/mocha.opts | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.babelrc b/.babelrc index 71ed7f7..e7b1998 100644 --- a/.babelrc +++ b/.babelrc @@ -1,10 +1,3 @@ { - "retainLines": true, - "presets": [ - "es2015-node4" - ], - "plugins": [ - "transform-runtime", - "transform-strict-mode" - ] + "presets": ["es2015-node4"] } diff --git a/package.json b/package.json index a51c4f3..db56dca 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,9 @@ "devDependencies": { "@springworks/test-harness": "1.3.4", "babel-cli": "6.8.0", - "babel-core": "6.8.0", "babel-eslint": "6.0.4", - "babel-plugin-transform-runtime": "6.8.0", - "babel-plugin-transform-strict-mode": "6.8.0", "babel-preset-es2015-node4": "2.1.0", + "babel-register": "6.8.0", "eslint": "2.9.0", "eslint-config-springworks": "7.0.3", "eslint-plugin-import": "1.8.0", diff --git a/test/mocha.opts b/test/mocha.opts index ca23563..444da90 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -3,5 +3,5 @@ --recursive --slow 200 --reporter spec +--compilers js:babel-register --require @springworks/test-harness ---compilers js:babel-core/register From 987a8685d7aed9ac67f426df333c4c0d7ed1192c Mon Sep 17 00:00:00 2001 From: David Brockman Smoliansky Date: Thu, 12 May 2016 17:58:58 +0200 Subject: [PATCH 2/3] fix(package): use correct repo urls --- package.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index db56dca..f243fda 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,6 @@ "postpublish": "greenkeeper-postpublish" }, "author": "Springworks", - "repository": { - "type": "git", - "url": "git@github.com:Springworks/mongoose-cleaner.git" - }, "devDependencies": { "@springworks/test-harness": "1.3.4", "babel-cli": "6.8.0", @@ -45,5 +41,13 @@ "pre-git": { "commit-msg": "conventional" } - } + }, + "repository": { + "type": "git", + "url": "https://github.com/Springworks/node-mongoose-cleaner.git" + }, + "bugs": { + "url": "https://github.com/Springworks/node-mongoose-cleaner/issues" + }, + "homepage": "https://github.com/Springworks/node-mongoose-cleaner#readme" } From 835b0f7038f463fc8afb1f24f14a7dac5abd5a03 Mon Sep 17 00:00:00 2001 From: David Brockman Smoliansky Date: Thu, 12 May 2016 17:59:34 +0200 Subject: [PATCH 3/3] fix: use MIT license --- LICENSE | 21 +++++++++++++++++++++ package.json | 1 + 2 files changed, 22 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d3e158e --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Springworks + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index f243fda..670e601 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "type": "git", "url": "https://github.com/Springworks/node-mongoose-cleaner.git" }, + "license": "MIT", "bugs": { "url": "https://github.com/Springworks/node-mongoose-cleaner/issues" },