소스 검색

babel-polyfill

sanex3339 8 년 전
부모
커밋
57c3fe32ed
6개의 변경된 파일5개의 추가작업 그리고 11개의 파일을 삭제
  1. 1 4
      .babelrc
  2. 1 2
      package.json
  3. 0 1
      scripts/test
  4. 1 1
      scripts/test-compile
  5. 1 3
      scripts/test-dev
  6. 1 0
      scripts/test-full

+ 1 - 4
.babelrc

@@ -1,6 +1,3 @@
 {
-  "presets": ["es2015"],
-  "plugins": [
-    "transform-object-assign"
-  ]
+  "presets": ["es2015"]
 }

+ 1 - 2
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",

+ 0 - 1
scripts/test

@@ -1,4 +1,3 @@
 #!/bin/bash
 
-npm run test:dev
 npm run test:full

+ 1 - 1
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
+$(npm bin)/babel test-tmp --out-dir test-tmp --source-maps --presets es2015

+ 1 - 3
scripts/test-dev

@@ -1,5 +1,3 @@
 #!/bin/bash
 
-npm run test:compile
-node test-tmp/test/dev/test.js
-npm run test:removeTmpDir
+$(npm bin)/ts-node test/dev/test.ts

+ 1 - 0
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