From 57c3fe32edecc5d94a5787dd1fba8e5f3be611d3 Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Tue, 28 Jun 2016 20:51:34 +0300 Subject: [PATCH] babel-polyfill --- .babelrc | 5 +---- package.json | 3 +-- scripts/test | 1 - scripts/test-compile | 2 +- scripts/test-dev | 4 +--- scripts/test-full | 1 + 6 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.babelrc b/.babelrc index 24e08ee2..af0f0c3d 100644 --- a/.babelrc +++ b/.babelrc @@ -1,6 +1,3 @@ { - "presets": ["es2015"], - "plugins": [ - "transform-object-assign" - ] + "presets": ["es2015"] } \ No newline at end of file diff --git a/package.json b/package.json index ad06e2b7..847316ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "javascript-obfuscator", - "version": "0.6.0", + "version": "0.7.0-dev", "description": "JavaScript obfuscator", "keywords": [ "obfuscator", @@ -28,7 +28,6 @@ "devDependencies": { "babel-cli": "^6.9.0", "babel-loader": "^6.2.4", - "babel-plugin-transform-object-assign": "^6.8.0", "babel-preset-es2015": "^6.9.0", "chai": "^3.5.0", "coveralls": "^2.11.9", diff --git a/scripts/test b/scripts/test index 6d85aa31..8f8e7d83 100755 --- a/scripts/test +++ b/scripts/test @@ -1,4 +1,3 @@ #!/bin/bash -npm run test:dev npm run test:full \ No newline at end of file diff --git a/scripts/test-compile b/scripts/test-compile index d36bcdf6..338ad177 100755 --- a/scripts/test-compile +++ b/scripts/test-compile @@ -1,4 +1,4 @@ #!/bin/bash $(npm bin)/tsc -p tsconfig-test.json -$(npm bin)/babel test-tmp --out-dir test-tmp --source-maps --presets es2015 --plugins transform-object-assign \ No newline at end of file +$(npm bin)/babel test-tmp --out-dir test-tmp --source-maps --presets es2015 \ No newline at end of file diff --git a/scripts/test-dev b/scripts/test-dev index eec684dd..9859cff9 100755 --- a/scripts/test-dev +++ b/scripts/test-dev @@ -1,5 +1,3 @@ #!/bin/bash -npm run test:compile -node test-tmp/test/dev/test.js -npm run test:removeTmpDir \ No newline at end of file +$(npm bin)/ts-node test/dev/test.ts \ No newline at end of file diff --git a/scripts/test-full b/scripts/test-full index 14588854..0118a475 100755 --- a/scripts/test-full +++ b/scripts/test-full @@ -1,5 +1,6 @@ #!/bin/bash npm run test:compile +node test-tmp/test/dev/test.js $(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/**/**.spec.js npm run test:removeTmpDir \ No newline at end of file